mirror of https://github.com/ansible/ansible.git
Split out selinux setup in subversion test.
This avoids failures when the sefcontext module is not present.pull/67425/head
parent
8d574c3770
commit
a928db1420
@ -0,0 +1,11 @@
|
||||
- name: set SELinux security context for SVN folder
|
||||
sefcontext:
|
||||
target: '{{ subversion_server_dir }}(/.*)?'
|
||||
setype: '{{ item }}'
|
||||
state: present
|
||||
with_items:
|
||||
- httpd_sys_content_t
|
||||
- httpd_sys_rw_content_t
|
||||
|
||||
- name: apply new SELinux context to filesystem
|
||||
command: restorecon -irv {{ subversion_server_dir | quote }}
|
Loading…
Reference in New Issue