rolling_update: ceph commands should use --cluster

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit e2529dcd7f)
pull/3892/head
Andrew Schoen 2019-03-28 16:05:09 -05:00 committed by Guillaume Abrioux
parent 545d93aae8
commit f1e04835f4
1 changed files with 2 additions and 2 deletions

View File

@ -844,7 +844,7 @@
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
@ -856,7 +856,7 @@
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