Skip to content

Instantly share code, notes, and snippets.

@tomwwright
Last active January 8, 2018 10:56
Show Gist options
  • Save tomwwright/de1743a7eb47ef66aaea692afc75e772 to your computer and use it in GitHub Desktop.
Save tomwwright/de1743a7eb47ef66aaea692afc75e772 to your computer and use it in GitHub Desktop.
ansibled : intro : group_vars
# group_vars/project.ansibled.yml
project: ansibled
# group_vars/db.yml
db_domain: "db.{{ deploy_environment }}.{{ project }}"
db_username: "{{ project }}-{{ deploy_environment }}-user"
db_port: 3306
# group_vars/environment.dev.yml
deploy_environment: dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment