Skip to content

Instantly share code, notes, and snippets.

@jlk
Created April 17, 2016 20:53
Show Gist options
  • Save jlk/b65863ea3aabf5bb1c1084422ba76214 to your computer and use it in GitHub Desktop.
Save jlk/b65863ea3aabf5bb1c1084422ba76214 to your computer and use it in GitHub Desktop.
ansible - inventory variables in vars
- 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