buluma.environment

Ansible Role: Environment

This role sets system-wide variables.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

Here's an example from molecule/default/converge.yml, tested on each update.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: buluma.environment
      environment_list:
        my_variable: "my_value"
        my_other_variable: "my_other_value"
        PATH: "$PATH:/my/path"

To prepare the machine, use molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: buluma.bootstrap

For more details, see this full explanation and example on using these roles.

Requirements

State of Used Roles

These roles are used to prepare the system. You can also prepare your system differently.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version

Context

This role works with many other compatible roles. For more information, check the documentation of these roles.

Here's a visual overview of related roles:

dependencies

Compatibility

This role has been tested on the following container images:

Container Tags
Alpine all
Amazon all
EL 8, 9
Debian all
Fedora all
openSUSE all
Ubuntu all

You need at least Ansible version 2.12. Tests were run on:

  • Previous version
  • Current version
  • Development version

If you find any issues, please report them on GitHub.

Changelog

You can view the Role History.

License

This project is licensed under Apache-2.0.

Author Information

Created by Shadow Walker.

Informazioni sul progetto

Set system-wide variables.

Installa
ansible-galaxy install buluma.environment
Licenza
apache-2.0
Download
9.9k
Proprietario
DevOps Engineer