changed to os-dependent httpd conf
Changed task to set http daemon config to use {Debian,RedHat}
dependent dictionary for template name and destination. Also
removed extraneous http daemon restart, since this is handily
handled by the handler.
MODIFY
dev-tools/ansible/roles/pga/tasks/main.yml
dev-tools/ansible/roles/pga/tasks/main.yml
# become: yes
- name: copy httpd.conf file
- template: src=httpd.conf.j2 dest="{{ httpd_conf_file_location }}/httpd.conf"
+ template: src={{ httpd_name[ansible_os_family] }}.conf.j2 dest={{ httpd_conf_file_location[ansible_os_family] }}
become: yes
notify:
- restart httpd
-- name: start httpd service
- service: name=httpd state=started
- become: yes
+#- name: start httpd service
+# service: name=httpd state=started
+# become: yes

changed to os-dependent httpd conf

Changed task to set http daemon config to use {Debian,RedHat}
dependent dictionary for template name and destination. Also
removed extraneous http daemon restart, since this is handily
handled by the handler.