bodhi2: Disable the bz-cookie selinux context stuff for now
This commit is contained in:
parent
cdfce9f59c
commit
1991ad9608
2 changed files with 23 additions and 23 deletions
|
@ -71,12 +71,12 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: change owner attribute of /var/tmp/bodhi-bz.cookie file
|
||||
file: >
|
||||
path=/var/tmp/bodhi-bz.cookie
|
||||
owner=masher
|
||||
tags:
|
||||
- config
|
||||
#- name: change owner attribute of /var/tmp/bodhi-bz.cookie file
|
||||
# file: >
|
||||
# path=/var/tmp/bodhi-bz.cookie
|
||||
# owner=masher
|
||||
# tags:
|
||||
# - config
|
||||
|
||||
- name: install /etc/bodhi/*.mash files
|
||||
copy: >
|
||||
|
|
|
@ -110,23 +110,23 @@
|
|||
# - config
|
||||
# - bodhi
|
||||
|
||||
- name: check the selinux context of the bugzilla cookie
|
||||
command: matchpathcon /var/tmp/bodhi-bz.cookie
|
||||
register: cookiecontext
|
||||
always_run: yes
|
||||
changed_when: "1 != 1"
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
- selinux
|
||||
|
||||
- name: set the SELinux policy for the bugzilla cookie
|
||||
command: semanage fcontext -a -t httpd_tmp_t "/var/tmp/bodhi-bz.cookie"
|
||||
when: cookiecontext.stdout.find('httpd_tmp_t') == -1
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
- selinux
|
||||
#- name: check the selinux context of the bugzilla cookie
|
||||
# command: matchpathcon /var/tmp/bodhi-bz.cookie
|
||||
# register: cookiecontext
|
||||
# always_run: yes
|
||||
# changed_when: "1 != 1"
|
||||
# tags:
|
||||
# - config
|
||||
# - bodhi
|
||||
# - selinux
|
||||
#
|
||||
#- name: set the SELinux policy for the bugzilla cookie
|
||||
# command: semanage fcontext -a -t httpd_tmp_t "/var/tmp/bodhi-bz.cookie"
|
||||
# when: cookiecontext.stdout.find('httpd_tmp_t') == -1
|
||||
# tags:
|
||||
# - config
|
||||
# - bodhi
|
||||
# - selinux
|
||||
|
||||
- name: enable httpd_tmp_exec SELinux boolean
|
||||
seboolean: name=httpd_tmp_exec state=yes persistent=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue