arillso.system.environment role – Manage environment variables in files

Note

This role is part of the arillso.system collection (version 0.0.34).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install arillso.system.

To use it in a playbook, specify: arillso.system.environment.

Entry point main – Manage environment variables in files

Synopsis

  • Manages environment variables by setting them in specified files.

Parameters

Parameter

Comments

environment_files

list / elements=string

A list of files where environment variables will be set.

Each entry in the list is a path to a file.

Default: []

environment_variables

dictionary

A dictionary of environment variables to set.

Keys are the names of the variables, and values are the values of these variables.

Default: {}

Entry point variables – Manage environment variables in files

Synopsis

  • Manages environment variables by setting them in specified files.

Parameters

Parameter

Comments

environment_files

list / elements=string

A list of files where environment variables will be set.

Each entry in the list is a path to a file.

Default: []

environment_variables

dictionary

A dictionary of environment variables to set.

Keys are the names of the variables, and values are the values of these variables.

Default: {}