static_websites: Remove SELinux context from install directory
This patch removes installing an SELinux context for the install directory, which only holds the docker-compose.yml and explicitly setting the seuser / setype. This is now consistent with all other docker-compose.yml deployments.
This commit is contained in:
parent
2d916fbaa1
commit
dc95ba9fb4
1 changed files with 0 additions and 12 deletions
|
@ -17,22 +17,10 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
- name: Update default SELinux contexts
|
||||
sefcontext:
|
||||
target: '{{ item }}(/.*)?'
|
||||
seuser: "system_u"
|
||||
setype: "var_t"
|
||||
state: present
|
||||
with_items:
|
||||
- "{{ static_websites_install_location }}"
|
||||
become: true
|
||||
|
||||
- name: Create directory
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
seuser: "system_u"
|
||||
setype: "var_t"
|
||||
with_items:
|
||||
- "{{ static_websites_install_location }}"
|
||||
become: true
|
||||
|
|
Loading…
Add table
Reference in a new issue