Skip to content

table/ansible-environment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Ansible role which adds /etc/environment variables

Resources

License

Stars

Watchers

Forks

Packages

No packages published