mirror of https://github.com/ceph/ceph-ansible.git
ceph-mon: port start_monitor task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/737/head
parent
3c82c7fd16
commit
50377e19b4
|
@ -25,7 +25,7 @@
|
|||
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:
|
||||
|
@ -36,7 +36,7 @@
|
|||
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:
|
||||
|
@ -46,7 +46,7 @@
|
|||
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 }}
|
||||
|
|
Loading…
Reference in New Issue