ceph-rgw: port start_radosgw task to use new ceph version facts

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

View File

@ -25,7 +25,7 @@
enabled: yes
when:
ansible_os_family == 'RedHat' and
not is_ceph_infernalis
is_before_infernalis
- name: enable systemd unit file for rgw 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 rgw on red hat (after infernalis)
service:
@ -45,4 +45,4 @@
enabled: yes
when:
ansible_os_family == 'RedHat' and
is_ceph_infernalis
is_after_hammer