Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
2 pillars 1 state
nginx:
rootdir: /data/installer
server-name: dev.domain.com
nginx:
rootdir: /data/installer
server-name: qa.domain.com
nginx:
rootdir: /var/www/repo/public_html
base:
'G@tags:dev and G@tags:rst':
- match: compound
- nginx.dev
'G@tags:qa and G@tags:rst':
- match: compound
- nginx.qa
'G@tags:prod and G@tags:rst':
- match: compound
- nginx.prod
'tags:repo':
- match: grain
- nginx.repo
base:
'tags:rst':
- match: grain
- nginx
'tags:installer':
- match: grain
- nginx
'tags:repo':
- match: grain
- nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment