You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/subversion/tasks/setup_selinux.yml

12 lines
335 B
YAML

- 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 }}