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
|
- bodhi
|
||||||
- selinux
|
- selinux
|
||||||
|
|
||||||
- name: check the selinux context of bodhi's homedir
|
#- name: check the selinux context of bodhi's homedir
|
||||||
command: matchpathcon /usr/share/bodhi/.fedora
|
# command: matchpathcon /usr/share/bodhi/.fedora
|
||||||
register: homedir
|
# register: homedir
|
||||||
check_mode: no
|
# check_mode: no
|
||||||
changed_when: "1 != 1"
|
# changed_when: "1 != 1"
|
||||||
tags:
|
# tags:
|
||||||
- config
|
# - config
|
||||||
- bodhi
|
# - bodhi
|
||||||
- selinux
|
# - selinux
|
||||||
|
|
||||||
- name: /usr/share/bodhi/.fedora file contexts
|
#- name: /usr/share/bodhi/.fedora file contexts
|
||||||
command: semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/bodhi/.fedora"
|
# 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'
|
# when: homedir.stdout.find('httpd_sys_content_t') == -1 and env == 'production'
|
||||||
tags:
|
# tags:
|
||||||
- config
|
# - config
|
||||||
- bodhi
|
# - bodhi
|
||||||
- selinux
|
# - selinux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue