Ansible Group Vars

Other topics

Example group_vars/development, and why

Project structure

project/
  group_vars/
     development
  inventory.development
  playbook.yaml

These variables will be applied to hosts under the development group due to the filename.

---
## Application
app_name: app
app_url: app.io
web_url: cdn.io
app_friendly: New App
env_type: production
app_debug: false

## SSL
ssl: true
ev_ssl: false

## Database
database_host: 127.0.0.1
database_name: app
database_user: sql

## Elasticsearch
elasticsearch_host: 127.0.0.1

Contributors

Topic Id: 6226

Example Ids: 21547

This site is not affiliated with any of the contributors.