Created
April 17, 2016 20:53
-
-
Save jlk/b65863ea3aabf5bb1c1084422ba76214 to your computer and use it in GitHub Desktop.
ansible - inventory variables in vars
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: tag_Name_swarm_node | |
user: ubuntu | |
become: yes | |
vars: | |
- swarm_manager_ip: "{{ tag_Name_swarm_node[0] }}" | |
roles: | |
- swarm_node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment