• Skip to primary navigation
  • Skip to content
  • Skip to footer
Automate NYC! Let's automate that...
  • Posts
  • Categories
  • Tags
  • KB Docs
    1. Home
    2. /
    3. Ansible
    4. /
    5. How to loop

    Eric Chong

    Ansible Automation Architect @ Red Hat

    • NYC
    • Website
    • LinkedIn

    How to loop

    June 14, 2018 less than 1 minute read

    Loops

    https://chromatichq.com/blog/untangling-ansible-loops

    • with_items
    • with_subelements
    • with_dict
    • with_nested

    Tags: Ansible, loop

    Categories: Ansible

    Updated: June 14, 2018

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    Leave a comment

    You may also enjoy

    Using AAP session authentication for API calls

    July 21, 2025 1 minute read

    While reading the Automation execution API overview doc, I noticed that beside OAuth 2 token, and basic auth with username and password, we can also use gate...

    Using HashiCorp Vault Signed SSH with AAP

    August 27, 2024 1 minute read

    In this post Using signed SSH certificate in AAP, we sign the the SSH key on command line before we create the AAP machine credential. In this article, we w...

    Using Datadog as External Logging for AAP

    June 7, 2024 1 minute read

    If you want to integrate Datadog logging directly with the playbooks or projects, check out this article KB3982961 and Datadog callback plugin

    Some useful examples of using map

    March 11, 2024 less than 1 minute read

    Apped some string to a list of string vars: file_name: - 'my_file' - 'some_other_file' tasks: - name: List all similar files ...

    • Follow:
    • Feed
    © 2025 Eric Chong. Powered by Jekyll & Minimal Mistakes.