From c76842617c6684bed3960901bbf1bc652eee2d42 Mon Sep 17 00:00:00 2001 From: Josef Skladanka Date: Tue, 21 Nov 2017 22:46:15 +0100 Subject: [PATCH] taskotron - selinux context workaround --- roles/taskotron/buildmaster/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/taskotron/buildmaster/tasks/main.yml b/roles/taskotron/buildmaster/tasks/main.yml index d799ca3547..1947e6b8a4 100644 --- a/roles/taskotron/buildmaster/tasks/main.yml +++ b/roles/taskotron/buildmaster/tasks/main.yml @@ -45,9 +45,9 @@ file: path="{{ buildmaster_home }}" state=directory owner=buildmaster group=buildmaster mode=0775 when: deployment_type in ['dev', 'stg', 'prod'] -- name: set the selinux fcontext type for the buildmaster_home to var_lib_t - command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?" - when: deployment_type in ['dev', 'stg', 'prod', 'qa-stg'] +#- name: set the selinux fcontext type for the buildmaster_home to var_lib_t +# command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?" +# when: deployment_type in ['dev', 'stg', 'prod', 'qa-stg'] #- name: make sure the selinux fcontext is restored # command: restorecon -R "{{ buildmaster_home }}"