Return back chdir to project sync to support project-local roles/collections

Signed-off-by: eric-zadara <eric@zadarastorage.com>
This commit is contained in:
eric-zadara 2023-07-18 08:16:34 -07:00 committed by Rick Elrod
parent 98bfe3f43f
commit 852bb0717c

View File

@ -255,6 +255,9 @@
tags:
- install_collections
- install_roles
module_defaults:
ansible.builtin.command:
chdir: "{{ project_path | quote }}"
# We combine our additional_galaxy_env into galaxy_task_env so that our values are preferred over anything a user would set
environment: "{{ galaxy_task_env | combine(additional_galaxy_env) }}"