mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-18 19:23:17 +02:00
20 lines
433 B
YAML
20 lines
433 B
YAML
---
|
|
|
|
- name: Configure SELinux
|
|
seboolean: name={{ item }} state=True persistent=True
|
|
with_items:
|
|
- httpd_can_network_connect
|
|
- httpd_setrlimit
|
|
tags: wapt
|
|
|
|
- name: Set SELinux context on repo dir
|
|
sefcontext:
|
|
target: '/var/www/html/(wapt(\-host|ua)?|wads)(/.*)?'
|
|
setype: httpd_sys_content_t
|
|
tags: wapt
|
|
|
|
- name: Reset SELinux contexts
|
|
command: restorecon -Rv /var/www/html
|
|
changed_when: False
|
|
tags: wapt
|