Merge "Add CephAnsibleEnvironmentVariables to nodes-uuid call"

This commit is contained in:
Zuul 2019-05-25 19:36:48 +00:00 committed by Gerrit Code Review
commit 4d6eeaee01
1 changed files with 3 additions and 0 deletions

View File

@ -502,6 +502,9 @@ outputs:
- ANSIBLE_SSH_CONTROL_PATH_DIR="{{playbook_dir}}/ceph-ansible/"
- ANSIBLE_CONFIG="{{playbook_dir}}/ansible.cfg"
- ANSIBLE_REMOTE_TEMP=/tmp/nodes_uuid_tmp
- yaql:
data: {get_param: CephAnsibleEnvironmentVariables}
expression: $.data.items().select($[0] + '=' + $[1]).join(' ')
- ansible-playbook
- '{% if ceph_ansible_private_key_file is defined %}--private-key {{ceph_ansible_private_key_file}}{% endif %}'
- '-i'