name clarification; remove old commented tasks clarified name for task to set selinux permissive, and removed commented out tasks which are replaced by working versions.
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/d7764ad7 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/d7764ad7 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/d7764ad7 Branch: refs/heads/ansible-testing-0.17 Commit: d7764ad78dd070f26de1ce6fa80aa51250e371bf Parents: 56263b4 Author: jecoulte <[email protected]> Authored: Thu Feb 9 08:46:16 2017 -0500 Committer: jecoulte <[email protected]> Committed: Thu Feb 9 08:46:16 2017 -0500 ---------------------------------------------------------------------- dev-tools/ansible/roles/pga/tasks/main.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/d7764ad7/dev-tools/ansible/roles/pga/tasks/main.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/roles/pga/tasks/main.yml b/dev-tools/ansible/roles/pga/tasks/main.yml index 774a086..e02c517 100644 --- a/dev-tools/ansible/roles/pga/tasks/main.yml +++ b/dev-tools/ansible/roles/pga/tasks/main.yml @@ -34,7 +34,7 @@ # going to permissive from enforcing doesn't require a reboot # permissive allows all, but still logs, allowing easy build # of a working profile. -- name: Disable selinux +- name: set selinux permissive selinux: state=permissive policy=default become: yes register: selinux_disable @@ -65,18 +65,8 @@ - https become: yes -# - name: Edit file -# lineinfile: dest="{{ httpd_conf_file }}" regexp="#\n\s*AllowOverride None" line="#\nAllowOverride All" -# notify: -# - restart httpd -# become: yes - - name: copy httpd.conf file 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
