[train-only] Update tripleo-ansible path for fernet playbook
The rotate-keys.yaml formerly lived in tripleo-common, but was later
refactored into tripleo-ansible, which makes sense because it's an
ansible playbook. When that happened, tripleo-common was updated to
point to the location of the new playbook [0].
However, it appears that the playbooks are installed into
/usr/share/ansible/tripleo-playbooks/ and not
/usr/share/tripleo-ansible/playbooks. This will cause errors invoking
key rotation since mistral can't find the playbook to execute:
ERROR! A playbook must be a list of plays, got a <class
'ansible.parsing.yaml.objects.AnsibleUnicode'> instead
This commit fixes the issue by updating the path to point to the
installed location of rotate-keys.yaml. This fix is only applicable to
stable/train since mistral was removed from master.
[0] 50e464c6f4
Change-Id: I74b64476b74344eb7d4cf1c0635f07a5fc128d3c
This commit is contained in:
parent
56c0fd5caf
commit
5eaf3dbb05
|
@ -48,7 +48,7 @@ workflows:
|
|||
extra_vars:
|
||||
fernet_keys: <% task(rotate_keys).result %>
|
||||
use_openstack_credentials: true
|
||||
playbook: /usr/share/tripleo-ansible/playbooks/rotate-keys.yaml
|
||||
playbook: /usr/share/ansible/tripleo-playbooks/rotate-keys.yaml
|
||||
execution_id: <% execution().id %>
|
||||
on-success: send_message
|
||||
publish:
|
||||
|
|
Loading…
Reference in New Issue