Ansible role for env
This role was prepared and tested for Ubuntu 16.04.
$ ansible-galaxy install iroquoisorg.env
To set global environment variables, use env_vars
variable in a following way:
env_vars:
VARIABLE: 'value'
OTHER_VARIABLE: 'some_value'
This role will update variables' value if necessary.
---
env_hostname: ""
env_vars: {}
env_timezone: "Etc/UTC"
env_cron_jobs: [] # {job: "git status", name: "job name", user: "www-data", minute: "*", hour: "*", day: "*", weekday: "*", month: "*" }
env_hosts: [] # {ip: "127.0.0.1", host: "localhost"}
env_cron_host: false
Please check development guide for details about developing and testing this role.