Created
October 6, 2014 16:29
-
-
Save kaz-tk/d3282ae9727493943229 to your computer and use it in GitHub Desktop.
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
- hosts: all | |
gather_facts: false | |
vars: | |
results: | |
- public_ip: "xxx.xxx.xxx.xx1" | |
- public_ip: "xxx.xxx.xxx.xx2" | |
- public_ip: "xxx.xxx.xxx.xx3" | |
- public_ip: "xxx.xxx.xxx.xx4" | |
tasks: | |
- debug: msg={{ results| map(attribute='public_ip')|join(',') }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment