Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.7 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.7 KB

Ansible Environment Role

Build Status Stories in Ready

environmanet is an Ansible role which:

  • adds /etc/environment variables

Installation

Using ansible-galaxy:

$ ansible-galaxy install franklinkim.environment

Using arm (Ansible Role Manager):

$ arm install franklinkim.environment

Using git:

$ git clone https://github.com/weareinteractive/ansible-environment.git

Variables

Here is a list of all the default variables for this role, which are also available in defaults/main.yml.

# environment_config:
#   - { name: LC_ALL, value: C }
#
environment_config: []

Example playbook

- host: all
  roles: 
    - franklinkim.environment
  vars:
    environment_config:
      - { name: LC_ALL, value: C }

Testing

$ git clone https://github.com/weareinteractive/ansible-environment.git
$ cd ansible-environment
$ vagrant up

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) We Are Interactive under the MIT license.