Add conf file entry for chrony

On CentOS the chrony.conf is in /etc/. adding a var to  define it.

Depends-On: I1aa3faf88f5953c230693600fcbcb786d49a35e0
Change-Id: Id6afe700f0d908396b4441e6c92dc79e29b228bf
This commit is contained in:
Marc Gariepy 2016-11-07 14:56:02 -05:00 committed by Major Hayden
parent 83e3c206e8
commit d97e7b8983
4 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@
- name: restart chrony
service:
name: chrony
name: "{{ chrony_service }}"
state: restarted
- name: restart fail2ban

View File

@ -63,7 +63,7 @@
- name: V-38620 - Synchronize system clock (configuration file)
template:
src: chrony.conf.j2
dest: /etc/chrony/chrony.conf
dest: "{{ chrony_conf_file }}"
when:
- not check_mode
- security_enable_chrony | bool

View File

@ -20,6 +20,7 @@ vsftpd_conf_file: /etc/vsftpd/vsftpd.conf
grub_conf_file: /boot/grub2/grub.cfg
aide_cron_job_path: /etc/cron.d/aide
aide_database_file: /var/lib/aide/aide.db.gz
chrony_conf_file: /etc/chrony.conf
# Package names
auditd_pkg: audit

View File

@ -23,6 +23,7 @@ vsftpd_conf_file: /etc/vsftpd.conf
grub_conf_file: /boot/grub/grub.cfg
aide_cron_job_path: /etc/cron.daily/aide
aide_database_file: /var/lib/aide/aide.db
chrony_conf_file: /etc/chrony/chrony.conf
# Package names
auditd_pkg: auditd