Add user-defined environment variables to ansible-galaxy commands

This commit is contained in:
Alan Rominger
2022-03-08 09:42:00 -05:00
committed by nixocio
parent e0082f4c76
commit c77667788a
4 changed files with 38 additions and 18 deletions

View File

@@ -558,6 +558,10 @@ ANSIBLE_INVENTORY_UNPARSED_FAILED = True
# Additional environment variables to be passed to the ansible subprocesses
AWX_TASK_ENV = {}
# Additional environment variables to apply when running ansible-galaxy commands
# to fetch Ansible content - roles and collections
GALAXY_TASK_ENV = {'ANSIBLE_FORCE_COLOR': 'false', 'GIT_SSH_COMMAND': "ssh -o StrictHostKeyChecking=no"}
# Rebuild Host Smart Inventory memberships.
AWX_REBUILD_SMART_MEMBERSHIP = False