Remove bodhi2/base file context setting
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
8a0a0d30dc
commit
c9f5123223
1 changed files with 16 additions and 16 deletions
|
@ -163,20 +163,20 @@
|
|||
- bodhi
|
||||
- selinux
|
||||
|
||||
- name: check the selinux context of bodhi's homedir
|
||||
command: matchpathcon /usr/share/bodhi/.fedora
|
||||
register: homedir
|
||||
check_mode: no
|
||||
changed_when: "1 != 1"
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
- selinux
|
||||
#- name: check the selinux context of bodhi's homedir
|
||||
# command: matchpathcon /usr/share/bodhi/.fedora
|
||||
# register: homedir
|
||||
# check_mode: no
|
||||
# changed_when: "1 != 1"
|
||||
# tags:
|
||||
# - config
|
||||
# - bodhi
|
||||
# - selinux
|
||||
|
||||
- name: /usr/share/bodhi/.fedora file contexts
|
||||
command: semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/bodhi/.fedora"
|
||||
when: homedir.stdout.find('httpd_sys_content_t') == -1 and env == 'production'
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
- selinux
|
||||
#- name: /usr/share/bodhi/.fedora file contexts
|
||||
# command: semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/bodhi/.fedora"
|
||||
# when: homedir.stdout.find('httpd_sys_content_t') == -1 and env == 'production'
|
||||
# tags:
|
||||
# - config
|
||||
# - bodhi
|
||||
# - selinux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue