cephadm: add missing cluster name

Two tasks were calling `ceph_key` module without the `cluster` parameter
which is problematic in DCN environment, where we specify the cluster
name.

Closes-Bug: #1935774
Change-Id: I2f5647ea9bc219f0eca9b9580662ca4b5c3c226e
This commit is contained in:
Emilien Macchi 2021-07-12 09:22:47 -04:00
parent 602039ef1d
commit b754b17724
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@
- name: Extract keys
ceph_key:
name: "{{ item.name }}"
cluster: "{{ tripleo_cephadm_cluster }}"
state: info
environment:
CEPH_CONTAINER_IMAGE: "{{ tripleo_cephadm_container_ns + '/' + tripleo_cephadm_container_image + ':' + tripleo_cephadm_container_tag }}"

View File

@ -44,6 +44,7 @@
- name: Extract key
ceph_key:
name: "{{ item.name }}"
cluster: "{{ tripleo_cephadm_cluster }}"
output_format: plain
state: info
environment: