Re: [ansible-project] Ansible: how to restart auditd service on CentOS7 when it appears you cant even do it via native systeml command

2016-12-10 Thread Kai Stian Olstad
On 09. des. 2016 05:55, matzuba wrote: When i look at the unit definition for auditd, i can see refuseManualStop=yes. Is this why i cant restart the service? how does one over come this to pickup the new audit rules? Is this more of a Centos/RHEL issue? sudo systemctl restart auditd.service

[ansible-project] Ansible: how to restart auditd service on CentOS7 when it appears you cant even do it via native systeml command

2016-12-09 Thread matzuba
In my playbook, i have a task to update audit.rules and then notify a handler which should restart the auditd service. task: - name: 6.6.7 - audit rules configuration template: src=X/ansible/templates/auditd_rules.j2 dest=/etc/audit/rules.d/audit.rules