Fix chrony daemon name for rh derivatives
RH/Centos 7 uses chronyd instead of chrony as service name. Closes-Bug: 1604042 Change-Id: I69fbba7ea2d7c108f51d36b9fd4ed8cf547c517b Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
This commit is contained in:
parent
cc01563a1c
commit
b5b92c1abe
@ -109,7 +109,7 @@
|
||||
|
||||
- name: V-38620 - Synchronize system clock (enable chrony)
|
||||
service:
|
||||
name: chrony
|
||||
name: "{{ chrony_service }}"
|
||||
state: started
|
||||
enabled: yes
|
||||
when: not check_mode
|
||||
|
@ -30,3 +30,4 @@ ypserv_pkg: ypserv
|
||||
# Service names
|
||||
cron_service: crond
|
||||
ssh_service: sshd
|
||||
chrony_service: chronyd
|
@ -33,3 +33,4 @@ ypserv_pkg: nis
|
||||
# Service name
|
||||
cron_service: cron
|
||||
ssh_service: ssh
|
||||
chrony_service: chrony
|
Loading…
Reference in New Issue
Block a user