Use versioned python binary with fetch ceph keyrings
Depends-On: https://review.opendev.org/688636/ Change-Id: I9918ff6a91acde2a7d184e44b8a1014462596e39
This commit is contained in:
parent
b73b9eab26
commit
2585788982
@ -7,6 +7,7 @@
|
||||
when: inventory_hostname in groups['ceph-mon']
|
||||
|
||||
- include_tasks: distribute_keyrings.yml
|
||||
when: kolla_action != "upgrade"
|
||||
|
||||
- include_tasks: start_mons.yml
|
||||
when: inventory_hostname in groups['ceph-mon']
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Fetching Ceph keyrings
|
||||
become: true
|
||||
command: docker exec ceph_mon fetch_ceph_keys.py
|
||||
command: docker exec ceph_mon /usr/bin/python{{ distro_python_version }} /usr/bin/fetch_ceph_keys.py
|
||||
register: ceph_files_json
|
||||
changed_when: (ceph_files_json.stdout | from_json).changed
|
||||
failed_when: (ceph_files_json.stdout | from_json).failed
|
||||
|
Loading…
Reference in New Issue
Block a user