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: