Browse Source

Merge "Properly compute hostname when looking for the ceph-mon container" into stable/train

changes/63/742263/4
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
9432818496
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      deployment/ceph-ansible/ceph-osd.yaml

+ 2
- 2
deployment/ceph-ansible/ceph-osd.yaml View File

@ -84,7 +84,7 @@ outputs:
register: check_docker_cli
check_mode: false
- 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
with_items:
- noout
@ -111,7 +111,7 @@ outputs:
list_concat:
- {get_attr: [CephBase, role_data, post_upgrade_tasks]}
- - 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:
- noout
- norecover


Loading…
Cancel
Save