Execute ceph-ansible with its own ansible.cfg

Modify the ceph-ansible execution so that it uses the ansible.cfg
that is shipped with ceph-ansible. ceph-ansible's own testing uses
this file and the project's maintainers recommend it be used.

This configuration file also uses ControlMaster=auto which is not
used by config download at this time. Adding this setting to the
ceph-ansible execution should make it take less time.

Change-Id: I774132eb8b7a43c921c0696635d56b4136301346
Closes-Bug: 1767252
This commit is contained in:
John Fulton 2018-04-27 12:27:47 -04:00
parent f4fa117cc7
commit cf8c443ffb
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ outputs:
- ANSIBLE_SSH_RETRIES=3
- ANSIBLE_HOST_KEY_CHECKING=False
- DEFAULT_FORKS=25
- ANSIBLE_CONFIG=/usr/share/ceph-ansible/ansible.cfg
- yaql:
data: {get_param: CephAnsibleEnvironmentVariables}
expression: $.data.items().select($[0] + '=' + $[1]).join(' ')