rolling_update: update specific pacific task

update the 'require-osd-release' task.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/6279/head
Guillaume Abrioux 2021-02-10 15:56:15 +01:00
parent 7dd4a8a059
commit 980a0dd00e
1 changed files with 4 additions and 4 deletions

View File

@ -880,16 +880,16 @@
name: ceph-facts
tasks_from: container_binary.yml
- name: container | disallow pre-quincy OSDs and enable all new quincy-only functionality
command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph --cluster {{ cluster }} osd require-osd-release quincy"
- name: container | disallow pre-pacific OSDs and enable all new pacific-only functionality
command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph --cluster {{ cluster }} osd require-osd-release pacific"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when:
- containerized_deployment | bool
- groups.get(mon_group_name, []) | length > 0
- name: non container | disallow pre-quincy OSDs and enable all new quincy-only functionality
command: "ceph --cluster {{ cluster }} osd require-osd-release quincy"
- name: non container | disallow pre-pacific OSDs and enable all new pacific-only functionality
command: "ceph --cluster {{ cluster }} osd require-osd-release pacific"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when: