a)
Which Ansible version is in use? Same behavior with 2.2.2 or 2.3.0?
b)
Can you run successfully the following on the command line ( centos 7 )?
systemctl status auditd.service
systemctl restart auditd.service

Does the Ansible user have the rights to restart auditd.service ?

c)
Ugli hack as a last resort, use Ansible Modul command instead of 
Ansible module service for centos 7 only.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b5c2a895-4e00-4ec5-bfbe-45d163e172a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to