Created
February 28, 2022 11:51
-
-
Save amaurybsouza/6b4698fa413774c8340397a78521b8f7 to your computer and use it in GitHub Desktop.
ansible-loops
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: add several users | |
user: | |
name: "{{ item }}" | |
groups: "wheel" | |
state: present | |
with_items: | |
- testuser1 | |
- testuser2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment