Last active
September 14, 2021 09:08
-
-
Save alipandidan/2b7010dd7b92eb2d0c3d8135a84417c6 to your computer and use it in GitHub Desktop.
Ansible map and join
This file contains 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
joined_groups: "{{ list|default([])|map(attribute='id')|join(',') }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment