Skip to content

Commit

Permalink
4564: Fix invalid setype in doc example
Browse files Browse the repository at this point in the history
Change from httpd_git_rw_content_t which
does not exist to httpd_sys_rw_content_t

Fixes ansible-collections#4564
  • Loading branch information
bluikko authored Jan 25, 2023
1 parent 8322b80 commit f0828f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/sefcontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
- name: Allow apache to modify files in /srv/git_repos
community.general.sefcontext:
target: '/srv/git_repos(/.*)?'
setype: httpd_git_rw_content_t
setype: httpd_sys_rw_content_t
state: present
- name: Substitute file contexts for path /srv/containers with /var/lib/containers
Expand Down

0 comments on commit f0828f2

Please sign in to comment.