Skip to content

Commit

Permalink
set more permissive selinux context on repo dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanspw committed Aug 7, 2024
1 parent 0080bcd commit 38a8016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hosts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ external_managed_mirrors
el7_mirrors

[matrix_synapse]
almalinux.im ansible_host=170.249.201.58
almalinux.im

[matrix_synapse_stg]
stg.almalinux.im
Expand Down
2 changes: 1 addition & 1 deletion roles/mirror/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
- name: Set SELinux context for mirror directory
community.general.sefcontext:
target: '{{ mirror_path }}(/.*)?'
setype: httpd_sys_content_t
setype: public_content_t
state: present
register: set_selinux_context

Expand Down

0 comments on commit 38a8016

Please sign in to comment.