Set SELinux Context per mod_md issue #253
This commit is contained in:
parent
4777716237
commit
3c73d234ad
@ -125,6 +125,19 @@
|
|||||||
loop: '{{ http_vhost }}'
|
loop: '{{ http_vhost }}'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: '{{ item.fqdn }} will be ensured'
|
label: '{{ item.fqdn }} will be ensured'
|
||||||
|
- name: 'base mod_md store'
|
||||||
|
when:
|
||||||
|
- ansible_system == 'Linux'
|
||||||
|
- ensure_apache is defined
|
||||||
|
- http_vhost is defined
|
||||||
|
- http_vhost is iterable
|
||||||
|
ansible.builtin.file:
|
||||||
|
group: 'root'
|
||||||
|
owner: 'root'
|
||||||
|
mode: '0770'
|
||||||
|
path: '/etc/httpd/md'
|
||||||
|
state: 'directory'
|
||||||
|
setype: 'system_u:object_r:httpd_var_lib_t:s0'
|
||||||
- name: 'base vhost document root'
|
- name: 'base vhost document root'
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_system == 'Linux'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user