Skip to content

Instantly share code, notes, and snippets.

@halberom
Created January 2, 2014 16:26
Show Gist options
  • Save halberom/8221830 to your computer and use it in GitHub Desktop.
Save halberom/8221830 to your computer and use it in GitHub Desktop.
query on common elements and includes
---
- hosts: app
roles:
- common
- httpd
- { role: vmware-tools, when: ansible_virtualization_type == 'VMware' }
---
- hosts: dep
roles:
- common
- tftp
- xinetd
- httpd
- pxeboot
- { role: vmware-tools, when: ansible_virtualization_type == 'VMware' }
---
- hosts: mdb
roles:
- common
- mysql
- { role: vmware-tools, when: ansible_virtualization_type == 'VMware' }
---
- hosts: xen
roles:
- common/ntp
- hp-agent
- xen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment