env

Build Status

Ansible role for env

This role was prepared and tested for Ubuntu 16.04.

Installation

$ ansible-galaxy install iroquoisorg.env

Usage

Environment variables

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.

Default settings

---
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

Development

Please check development guide for details about developing and testing this role.