From 1991ad96089b5533c70910ab2a689360d2fb232b Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Wed, 22 Jul 2015 18:32:08 +0000 Subject: [PATCH] bodhi2: Disable the bz-cookie selinux context stuff for now --- roles/bodhi2/backend/tasks/main.yml | 12 +++++----- roles/bodhi2/base/tasks/main.yml | 34 ++++++++++++++--------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 4832971c43..fcfb64057b 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -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: > diff --git a/roles/bodhi2/base/tasks/main.yml b/roles/bodhi2/base/tasks/main.yml index 025dd2ddfd..bc0df9e26b 100644 --- a/roles/bodhi2/base/tasks/main.yml +++ b/roles/bodhi2/base/tasks/main.yml @@ -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