Add mistral workflow module path to ansible-runner

This change extends the module path found within the the `package_update`
workflow so that we can ensure proper access to modules when ansible commands
are executed.

Change-Id: I6ce78e831b61791b60cbdd35a07cfc7367153d64
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter 2020-03-23 11:47:28 -05:00
parent e7693eb1ae
commit 7c4ed8ff6e
No known key found for this signature in database
GPG Key ID: CE94BD890A47B20A
1 changed files with 1 additions and 0 deletions

View File

@ -420,6 +420,7 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None,
'/usr/share/ansible/tripleo-plugins/modules:'
'/usr/share/ansible/plugins/modules:'
'/usr/share/ceph-ansible/library:'
'/usr/share/ansible-modules:'
'{}/library'.format(
os.path.join(workdir, 'modules'),
os.path.join(cwd, 'modules'),