- import_role:
name: ceph-facts
- - name: container | disallow pre-octopus OSDs and enable all new octopus-only functionality
- command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd require-osd-release octopus"
+ - 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 osd require-osd-release pacific"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when: containerized_deployment | bool
- - name: non container | disallow pre-octopus OSDs and enable all new octopus-only functionality
- command: "ceph --cluster {{ cluster }} osd require-osd-release octopus"
+ - 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: not containerized_deployment | bool