ceph-rbd-mirror: port start_rbd_mirror task to use new ceph version facts

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/737/head
Alfredo Deza 2016-04-27 10:48:46 -04:00
parent 9d21a3c56c
commit 04a2974af1
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
changed_when: false
when:
ansible_distribution != "Ubuntu" and
not is_ceph_infernalis
is_before_infernalis
- name: enable systemd unit file for the rbd mirror service (for or after infernalis)
file:
@ -23,7 +23,7 @@
failed_when: false
when:
ansible_distribution != "Ubuntu" and
is_ceph_infernalis
is_after_hammer
- name: start and add that the rbd mirror service to the init sequence (for or after infernalis)
service:
@ -33,4 +33,4 @@
changed_when: false
when:
ansible_distribution != "Ubuntu" and
is_ceph_infernalis
is_after_hammer