Hi there,
This is a trivial fix, on mailman01 the /etc/init.d/httpd script was
copied (hotfix) without setting the executable bit:
$ ls -l /etc/init.d/httpd
-rw-r--r-- 1 root root 3449 5 sept. 16:38 /etc/init.d/httpd
As a result Ansible can't start Apache.
This is my proposed one-liner fix:
--- a/tasks/apache.yml
+++ b/tasks/apache.yml
@@ -21,6 +21,7 @@
# install hash randomization hotfix
- name: hotfix - copy over new httpd init script
copy: src=$files/hotfix/httpd/httpd.init dest=/etc/init.d/httpd
+ owner=root group=root mode=0755
notify:
- restart apache
tags:
Is it OK? Did anything depend on the previous behavior?
Aurélien
--
http://aurelien.bompard.org ~~~~~~ xmpp:aurelien@bompard.org
"Life is what happens to you while you're busy making other plans."
-- John Lennon