Enable fact bits for ceph execution
ceph-ansible still requires that all the facts be collected by default and inject fact vars is enabled. We want to turn that off for tripleo, but in the mean time we need to force it back on when in run ansible for ceph. Change-Id: I607c29c45148b57dee34741397cf7a16ced8ef78 Related-Bug: #1915761 Related-Bug: #1917621
This commit is contained in:
parent
2bd02cc59a
commit
ff8d309e95
|
@ -45,6 +45,10 @@
|
|||
- ANSIBLE_STDOUT_CALLBACK=default
|
||||
- "{{ calling_ansible_environment_variables|join(' ') }}"
|
||||
- "{{ ceph_ansible_environment_variables|join(' ') }}"
|
||||
# NOTE(mwhahaha): we need to force this for now until ansible addresses fact stuff
|
||||
- ANSIBLE_INJECT_FACT_VARS=True
|
||||
- ANSIBLE_GATHER_SUBSET="all"
|
||||
- ANSIBLE_CACHE_PLUGIN="memory"
|
||||
- ansible-playbook
|
||||
- '{% if ceph_ansible_private_key_file is defined %}--private-key {{ ceph_ansible_private_key_file }}{% endif %}'
|
||||
- '{% if ansible_python_interpreter is defined %}-e ansible_python_interpreter={{ ansible_python_interpreter }}{% endif %}'
|
||||
|
|
Loading…
Reference in New Issue