Created
February 5, 2025 20:31
-
-
Save chrismeyersfsu/43515f6b87c8f4373e0667f526abc33b to your computer and use it in GitHub Desktop.
simple loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Loop 50 times with debug and sleep | |
hosts: localhost | |
gather_facts: false | |
tasks: | |
- name: Sleep for 1 second | |
ansible.builtin.pause: | |
seconds: 1 | |
with_items: "{{ range(1, 51) | list }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment