mirror of https://github.com/ceph/ceph-ansible.git
facts: move two set_fact into ceph-facts
those two set_fact tasks should be moved in ceph-facts. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3603/head
parent
69310a5cd6
commit
b24202f6a4
|
@ -258,3 +258,15 @@
|
|||
with_sequence: start=0 end={{ radosgw_num_instances|int - 1 }}
|
||||
when:
|
||||
- inventory_hostname in groups.get(rgw_group_name, [])
|
||||
|
||||
- name: set ntp service name depending on OS family
|
||||
block:
|
||||
- name: set ntp service name for Debian family
|
||||
set_fact:
|
||||
ntp_service_name: ntp
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: set ntp service name for Red Hat family
|
||||
set_fact:
|
||||
ntp_service_name: ntpd
|
||||
when: ansible_os_family in ['RedHat', 'Suse']
|
||||
|
|
|
@ -1,15 +1,4 @@
|
|||
---
|
||||
- name: set ntp service name depending on OS family
|
||||
block:
|
||||
- name: set ntp service name for Debian family
|
||||
set_fact:
|
||||
ntp_service_name: ntp
|
||||
when: ansible_os_family == 'Debian'
|
||||
- name: set ntp service name for Red Hat family
|
||||
set_fact:
|
||||
ntp_service_name: ntpd
|
||||
when: ansible_os_family in ['RedHat', 'Suse']
|
||||
|
||||
# Installation of NTP daemons needs to be a separate task since installations
|
||||
# can't happen on Atomic
|
||||
- name: install the ntp daemon
|
||||
|
|
Loading…
Reference in New Issue