Ensure service is enabled

With older tripleo versions, we did disable the service since we were
using ntpd.
If we upgrade from a version using ntpd, the chronyd service won't be
active upon reboot.

Change-Id: Ic59374afdf5ace02ba8243f5163d0950e527ec52
Closes-Bug: #1835368
This commit is contained in:
Cédric Jeanneret 2019-07-05 16:37:36 +02:00
parent 494f3c4163
commit e289119ba1
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@
- name: Ensure chronyd is running
service:
enabled: yes
name: "{{ chrony_service_name }}"
state: "{{ chrony_service_state|default('started') }}"
when: chrony_manage_service|bool