weareinteractive / Ansible Environment
Licence: mit
Ansible role which adds /etc/environment variables
Stars: ✭ 27
Labels
Projects that are alternatives of or similar to Ansible Environment
Ferret
Ferret is a free software lisp implementation for real time embedded control systems.
Stars: ✭ 878 (+3151.85%)
Mutual labels: makefile
Stanford Drupal Profile
A dev / test-only version of the Drupal Hosting Service Configuration
Stars: ✭ 13 (-51.85%)
Mutual labels: makefile
Mlgo
Machine Learning with Go Session Material for Golab 2018
Stars: ✭ 15 (-44.44%)
Mutual labels: makefile
Android device huawei next
LineageOS device tree for the Huawei Mate 8 - [Unmaintained]
Stars: ✭ 15 (-44.44%)
Mutual labels: makefile
Hubot Slack Docker
Docker container running Github Hubot.
Stars: ✭ 21 (-22.22%)
Mutual labels: makefile
Xsensors
a fork of Xsensors with various improvements (GTK3, cleanup, bugfixes, enhancements)
Stars: ✭ 13 (-51.85%)
Mutual labels: makefile
Bashmultitool
A library for bash shell program containing useful functions. Can be imported into scripts to create colourful and functional scripts and TUIs.
Stars: ✭ 27 (+0%)
Mutual labels: makefile
Elixir.mk
A (very) experimental plugins for erlang.mk to use Elixir modules in Erlang
Stars: ✭ 13 (-51.85%)
Mutual labels: makefile
Ris
a simple cross-platform resource compiler for c++ projects
Stars: ✭ 15 (-44.44%)
Mutual labels: makefile
Vault Auth Plugin Example
An example @HashiCorp Vault auth plugin
Stars: ✭ 27 (+0%)
Mutual labels: makefile
Ansible weareinteractive.environment role
weareinteractive.environment
is an Ansible role which:
- adds
/etc/environment
variables
Note:
Since Ansible Galaxy switched all role names to the organization name, this role has moved from
franklinkim.environment
toweareinteractive.environment
!
Installation
Using ansible-galaxy
:
$ ansible-galaxy install weareinteractive.environment
Using requirements.yml
:
- src: weareinteractive.environment
Using git
:
$ git clone https://github.com/weareinteractive/ansible-environment.git weareinteractive.environment
Dependencies
- Ansible >= 2.4
Variables
Here is a list of all the default variables for this role, which are also available in defaults/main.yml
.
---
# Path to the environment file
environment_file: /etc/environment
# The environment file owner
environment_file_owner: root
# The environment file group
environment_file_group: root
# A dictionary of config parameters i.e
#
# environment_config:
# LC_ALL: en_US.UTF-8
# PATH: "/your/path:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/"
environment_config: {}
Usage
This is an example playbook:
---
- hosts: all
roles:
- weareinteractive.environment
vars:
environment_config:
LC_ALL: C
Testing
$ git clone https://github.com/weareinteractive/ansible-environment.git
$ cd ansible-environment
$ make test
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Note: To update the README.md
file please install and run ansible-role
:
$ gem install ansible-role
$ ansible-role docgen
License
Copyright (c) We Are Interactive under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].