Merge "Properly compute hostname when looking for the ceph-mon container" into stable/train
This commit is contained in:
commit
9432818496
|
@ -84,7 +84,7 @@ outputs:
|
||||||
register: check_docker_cli
|
register: check_docker_cli
|
||||||
check_mode: false
|
check_mode: false
|
||||||
- name: Set noout flag
|
- name: Set noout flag
|
||||||
shell: "{{ container_client }} exec -u root ceph-mon-${HOSTNAME} ceph osd set {{ item }}"
|
shell: "{{ container_client }} exec -u root ceph-mon-{{ ansible_hostname }} ceph osd set {{ item }}"
|
||||||
become: true
|
become: true
|
||||||
with_items:
|
with_items:
|
||||||
- noout
|
- noout
|
||||||
|
@ -111,7 +111,7 @@ outputs:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [CephBase, role_data, post_upgrade_tasks]}
|
- {get_attr: [CephBase, role_data, post_upgrade_tasks]}
|
||||||
- - name: Unset noout flag
|
- - name: Unset noout flag
|
||||||
shell: "{{ container_cli }} exec -u root ceph-mon-${HOSTNAME} ceph osd unset {{ item }}"
|
shell: "{{ container_cli }} exec -u root ceph-mon-{{ ansible_hostname }} ceph osd unset {{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
- noout
|
- noout
|
||||||
- norecover
|
- norecover
|
||||||
|
|
Loading…
Reference in New Issue