Skip to content

Instantly share code, notes, and snippets.

@zmarcantel
Last active January 2, 2016 15:49
Show Gist options
  • Save zmarcantel/8325816 to your computer and use it in GitHub Desktop.
Save zmarcantel/8325816 to your computer and use it in GitHub Desktop.
{
'web': {
'hosts': ['web.0.local', 'web.1.local']
},
'workers': {
'hosts': ['worker.0.local', 'worker.1.local', 'worker.2.local']
},
'other': {
'hosts': ['other.0.local']
},
'_meta': {
'hostvars': {
'web.0.local': { 'ansible_ssh_host': '{{ HOST_IP }}' },
'web.1.local': { 'ansible_ssh_host': '{{ HOST_IP }}' },
...
...
'other.0.local': { 'ansible_ssh_host': '{{ HOST_IP }}' }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment