20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
# Example of a ansible_local.env file that is used to customize the local
|
|
# operation of Ansible with environment variables.
|
|
|
|
# Usage:
|
|
# 1. Copy ansible/ansible_local.env.example to ansible/ansible_local.env or create a new version.
|
|
# 2. Customize the contents of the ansible_local.env file, there can only be definitions of environment variables.
|
|
# cf.: https://docs.ansible.com/ansible/latest/reference_appendices/config.html
|
|
# 3. The run_ansible.sh script will automatically source the ansible/ansible_local.env file if it exists before running ansible.
|
|
|
|
# The ansible_local.env file is ignored by Git (present in.gitignore).
|
|
|
|
# Example of using the ANSIBLE_STRATEGY_PLUGINS and ANSIBLE_STRATEGY environment variables to enable Mitogen (speeds up the execution of Ansible playbooks by a factor of 2 to 10).
|
|
# cf.: https://mitogen.networkgenomics.com/ansible_detailed.html
|
|
|
|
ANSIBLE_STRATEGY_PLUGINS=/home/seb/.local/share/pipx/venvs/ansible/lib/python3.13/site-packages/ansible_mitogen/plugins/strategy
|
|
export ANSIBLE_STRATEGY_PLUGINS
|
|
|
|
ANSIBLE_STRATEGY=mitogen_linear
|
|
export ANSIBLE_STRATEGY
|