Signed-off-by: Alfredo Deza <adeza@redhat.com>
changed_when: false
when:
ansible_distribution != "Ubuntu" and
- not is_ceph_infernalis
+ is_before_infernalis
- name: enable systemd unit file for mon instance (for or after infernalis)
file:
failed_when: false
when:
ansible_distribution != "Ubuntu" and
- is_ceph_infernalis
+ is_after_hammer
- name: start and add that the monitor service to the init sequence (for or after infernalis)
service:
changed_when: false
when:
ansible_distribution != "Ubuntu" and
- is_ceph_infernalis
+ is_after_hammer
- name: collect admin and bootstrap keys
command: ceph-create-keys --cluster {{ cluster }} --id {{ monitor_name }}