Merge "Fix path to daemon init params file"
This commit is contained in:
commit
143c0084e4
@ -125,10 +125,10 @@
|
||||
# Please read the documentation and the comments in defaults/main.yml prior
|
||||
# to making any umask-related changes.
|
||||
|
||||
# Ubuntu 14.04's default umask in /etc/init.d/rc is 022 already.
|
||||
# Ubuntu 14.04 and CentOS 7 both have a default umask set to 022 already.
|
||||
- name: V-38642 - System default umask for daemons must be 027 or 022
|
||||
lineinfile:
|
||||
dest: /etc/init.d/rc
|
||||
dest: "{{ daemon_init_params_file }}"
|
||||
regexp: "^umask "
|
||||
line: "umask {{ security_umask_daemons_init }}"
|
||||
when: security_umask_daemons_init is defined
|
||||
|
@ -30,6 +30,7 @@ grub_defaults_file: /etc/sysconfig/grub
|
||||
aide_cron_job_path: /etc/cron.d/aide
|
||||
aide_database_file: /var/lib/aide/aide.db.gz
|
||||
chrony_conf_file: /etc/chrony.conf
|
||||
daemon_init_params_file: /etc/init.d/functions
|
||||
|
||||
# Service names
|
||||
cron_service: crond
|
||||
|
@ -33,6 +33,7 @@ grub_defaults_file: /etc/default/grub
|
||||
aide_cron_job_path: /etc/cron.daily/aide
|
||||
aide_database_file: /var/lib/aide/aide.db
|
||||
chrony_conf_file: /etc/chrony/chrony.conf
|
||||
daemon_init_params_file: /etc/init.d/rc
|
||||
|
||||
# Service name
|
||||
cron_service: cron
|
||||
|
Loading…
x
Reference in New Issue
Block a user