]> git.apps.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 08:55:11 +0000 (10:55 +0200)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
infrastructure-playbooks/rolling_update.yml

index 7e23e732b8c53add132d0a016e093eea2c695421..093e33c921e7a8053984c46937829a8bea953efc 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