]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: ceph commands should use --cluster
authorAndrew Schoen <aschoen@redhat.com>
Thu, 28 Mar 2019 21:05:09 +0000 (16:05 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Apr 2019 17:12:13 +0000 (19:12 +0200)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit e2529dcd7f92176cb69e31c88e5fce7c1058044e)

infrastructure-playbooks/rolling_update.yml

index 1ed417c6e66699ae1c56f7064395e3bea423e6da..e4d1e23660db053ab00aafeebc433fe5f3ffd6fd 100644 (file)
       when: containerized_deployment
 
     - name: non container | disallow pre-nautilus OSDs and enable all new nautilus-only functionality
-      command: ceph osd require-osd-release nautilus
+      command: "ceph --cluster {{ cluster }} osd require-osd-release nautilus"
       delegate_to: "{{ groups[mon_group_name][0] }}"
       run_once: True
       when: not containerized_deployment
       when: containerized_deployment
 
     - name: non container | enable msgr2 protocol
-      command: ceph mon enable-msgr2
+      command: "ceph --cluster {{ cluster }} mon enable-msgr2"
       delegate_to: "{{ groups[mon_group_name][0] }}"
       run_once: True
       when: not containerized_deployment