Created
November 12, 2019 14:41
-
-
Save rgarrigue/d0efb0962e6d5e19f97b2f4adb099247 to your computer and use it in GitHub Desktop.
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
- hosts: localhost | |
vars: | |
users: | |
- name: alice | |
groups: | |
- wheel | |
- docker | |
- name: bob | |
groups: | |
- docker | |
- name: luc | |
tasks: | |
- name: my task | |
debug: | |
msg: "{{ item }}" | |
loop: "{{ users | whatever the filter }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
expected result