taskotron - selinux context workaround
This commit is contained in:
parent
0633c0b63b
commit
c76842617c
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@
|
||||||
file: path="{{ buildmaster_home }}" state=directory owner=buildmaster group=buildmaster mode=0775
|
file: path="{{ buildmaster_home }}" state=directory owner=buildmaster group=buildmaster mode=0775
|
||||||
when: deployment_type in ['dev', 'stg', 'prod']
|
when: deployment_type in ['dev', 'stg', 'prod']
|
||||||
|
|
||||||
- name: set the selinux fcontext type for the buildmaster_home to var_lib_t
|
#- name: set the selinux fcontext type for the buildmaster_home to var_lib_t
|
||||||
command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?"
|
# command: semanage fcontext -a -t var_lib_t "{{ buildmaster_home }}(/.*)?"
|
||||||
when: deployment_type in ['dev', 'stg', 'prod', 'qa-stg']
|
# when: deployment_type in ['dev', 'stg', 'prod', 'qa-stg']
|
||||||
|
|
||||||
#- name: make sure the selinux fcontext is restored
|
#- name: make sure the selinux fcontext is restored
|
||||||
# command: restorecon -R "{{ buildmaster_home }}"
|
# command: restorecon -R "{{ buildmaster_home }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue