From 38a8016e666eec28e3aff2f1074a2a547cbddacd Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 7 Aug 2024 15:28:56 -0500 Subject: [PATCH] set more permissive selinux context on repo dir --- hosts | 2 +- roles/mirror/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts b/hosts index 8a8fa15..597c754 100644 --- a/hosts +++ b/hosts @@ -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 diff --git a/roles/mirror/tasks/main.yml b/roles/mirror/tasks/main.yml index 1d5d65a..dbf0eb5 100644 --- a/roles/mirror/tasks/main.yml +++ b/roles/mirror/tasks/main.yml @@ -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