enable selinux httpd_can_network_connect for docker-distribution-proxy revproxy

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-04-08 20:10:05 +00:00
parent 4b56e62869
commit 21824949be

View file

@ -7,6 +7,9 @@
- name: Make sure mod_ssl is installed - name: Make sure mod_ssl is installed
action: "{{ ansible_pkg_mgr }} name=mod_ssl state=installed" action: "{{ ansible_pkg_mgr }} name=mod_ssl state=installed"
- name: enable httpd_can_network_connect SELinux boolean for reverse proxy
seboolean: name=httpd_can_network_connect state=yes persistent=yes
- name: ensure pki destination directory exists - name: ensure pki destination directory exists
file: file:
path: "{{ ssl.destdir }}" path: "{{ ssl.destdir }}"