Ansible Community
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    ###### tags: `CfgMgmtCamp 2025` # Ansible Contributor Summit, Ghent 2025 This public HackMD is to allow everybody to make notes during Contributor Summit on Wednesday 5th Feb which takes places as part of Configuration Managemenent Camp in Ghent. Useful links: - Short URL to this page: red.ht/ansible-contributors-summit - [Contributor Summit agenda in the forum](https://forum.ansible.com/t/ansible-contributor-summit-at-cfgmgmtcamp-2025/9658) - Ansible Developer Tools workshop (afternoon session): https://red.ht/ansible-devtools-lab - Live stream: https://www.youtube.com/watch?v=_QzODvwRlog # Warm up discussion Kirill is leading a follow up discussion about his functional programming talk from yesterday. Suggestion from Felix: maybe we should add an action plugin 'evaluate' that evalutes an expression and allows you to register the result and use that, instead of returning `ansible_facts` (like `set_facts`). then you can add an evaluate task, evaluate all expressions there (optionally with `run_once: true`) to get the values evaluated at this point in time, register the result, and then use the result in `vars:` Kirill's talk on SOLID principles from DevConf: * [Forum Post](https://forum.ansible.com/t/sharing-my-presentation-on-applying-solid-principles-when-developing-ansible-content/6837) * [video](https://www.youtube.com/watch?v=erfO_01iqrY) * [Slides](https://speakerdeck.com/kksat/enhancing-ansible-development-with-solid-principles) * [GitHub repo](https://github.com/kksat/SOLID-Ansible) ## Actions * Forum post to improve [using variable documentation](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_variables.html) * [Forum discussion created](https://forum.ansible.com/t/improving-ansible-facts-documentation/40075) # Morning sessions During the morning, we will have several brief sessions from speakers on a range of topics. ## Luca Berton: Building the Ansible Pilot community Website: [ansiblepilot.com](https://www.ansiblepilot.com/) YouTube channel: [BertonLuca](https://www.youtube.com/@BertonLuca) GitHub: [lucab85](https://github.com/lucab85) Published books: [Luca Berton on leanpub](https://leanpub.com/u/lucaberton) * started with one YouTube video * created more content but keeping it short. Noticed lots of other Ansible content on YouTube was 2 hours plus. * topics shared: getting started, particular focus on Windows systems because Luca noticed there were lots of searches and questions * began to get lots of positive feedback and made lots of human connections through technology * started creating books to share knowledge and has now published 5 books based on Ansible, practical guides for interacting with Ansible * advice is to work not only on professional skills but personal branding that demonstrates abilities ### Actions * Helping our international communities * Ensure [awesome-ansible](https://github.com/ansible-community/awesome-ansible/) & the [Forum's internation communities](https://forum.ansible.com/c/other-languages/10) link to Luca's non-English content * Add in a pinned-post in each language that has links to resources in the native language * Consider which countries don't have as many English speakers (such as Italy) and countries with very different languages (Chinese & Japanese) ## Anwesha Das: How to Become an Ansible contributor * Anwesha's background was in criminal law, which took her into the world of Property Law. * has learned by being hands on in open-source communities * Why contribute? Provides an opportunity for learning for free and gives you the chance to network. Contributing is a means to help you "build your personal brand". Anwesha has worked with [PyLadies](https://pyladies.com/) and is a fellow at the Python Software Foundation, which has helped her establish professional credentials. * [PyLadiesCon keynote](https://anweshadas.in/pyladiescon-keynote/) * [EuroPython 2024](https://ep2024.europython.eu/speaker/anwesha-das/) * Collections are a way to distribute Ansible content. Key collections like `ansible.builtin` plus many community collections you can contribute too. * [How can I help?](https://docs.ansible.com/ansible/devel/community/how_can_I_help.html) in the Ansible documentation provides information about contributing to collections as well as links to easy fix and good first issues across the community projects. * Andrei's [How to submit your first contribution](https://forum.ansible.com/t/how-to-submit-your-first-contribution-to-ansible-step-by-step/39085) post in the forum is another great resource to get started. ## Martin Krizek: Ansible core architecture: Handlers GitHub profile: https://github.com/mkrizek * Handler is a special kind of task that is executed when notified by a changed task. * Use the `notify:` or `listen:` keywords to notify handlers. * You can notify topics to trigger multiple handlers. * Handlers without name or topic are useless. * To avoid overwriting handlers, it is important to name them uniquely. * The `flush_handlers` meta task triggers handlers but is added implicitly by the core engine although you can use `flush_handlers` explicitly. * If a play fails, the notified handlers are not executed but you can override that at the play level or cli option with `force_handlers: true` * To define handlers within roles, you can put them within the `handlers` directory of the role. The `"role_name: handler_name"` syntax is a special way to notify handlers within roles. * Handlers run in the order they are defined in the play, not in the order they are notified. * You can use `include_tasks` and `import_tasks` as handlers. `include_tasks` are handled at runtime while `import_tasks` are handled at parse time. * "`include_tasks` is a handler, `import_tasks` creates handlers" * You can chain handlers - handlers can notify other handlers * Limitations for handlers are available in the [handler docs](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_handlers.html) * Beware of templates in handler names! * ansible-core 2.14 and later - handlers are handled as regular tasks and follow the same code flow using the `PlayIterator` state machine * read the porting guides in documentation! Q: Is it possible to reference a handler from another role inside a role? A: Yes. Although this creates a dependency within roles, which is not best practice. Q: Who uses a custom strategy plugin? A: 2 people use them occasionally Q: Who reads the anisble-core porting guides A: Only ~5 people Q: Who knows what a [meta task](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/meta_module.html) is? A: ~20% Q: Recommendations about running handlers in roles? Should you flush handlers in the role explicitly? A: Just run flush handlers if you need them executed. - Add a variable to allow users to turn on / off the handler depending on the use case. Users need to decide. Q: Handlers executed in the sequence they are declared. If we call external handlers, in which sequence will they be executed? A: Cannot notify handlers in roles that are not in the play. Roles must be included in the play. ## Gundalow: Ansible community engineering in the year ahead Notes ## Felix Fontein: Contributing to Ansible collections (fireside chat about community.general?) Notes * Community.general was created with the "left overs" that didn't have a dedicated home after the the big move into Collections * We have managed to spin out some content into dedicated repos. * Though we've ended up with a repo that doesn't have any active maintainers Q: Who uses `community.general` A: 90%+ Felix asks help and offers help with issues and pull requests. ## David M. Simard: Recording Ansible benchmarking Slides from last year's presentation about the [prometheus implementation](https://ara.recordsansible.org/presentations/cfg-mgmt-2024/ansible-metrics-in-prometheus.pdf) # Ansible Developer Tools workshop and discussion Details moved to forum post (draft). # What can be better in the ansible community? Things we are missing now. ## How to bring new contributors in the Ansible community? - Project ideas for Ansible hands on. - Does a mentorship program help? - Are you interested to be a mentor? - How to built a pipeline to have a solid flow of contributors to the project ## Is there any areas your project needs help with? - Do you need contributors to give you a hand on your project? - Consider enroll your project in the "Buddy Up" section here. ## Buddy Up ### International community intergration Buddy up with @gundalow to translate Ansible content/docs into different languages. ### Release Management Buddy up with Anwesha for the release management of Ansible Community Package. ### community.general Buddy up with Felix for cleaning up community.general

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully