run selinux context changes on qa prod/stg as well
This commit is contained in:
parent
09ca810590
commit
06630d2a0f
1 changed files with 2 additions and 2 deletions
|
@ -60,10 +60,10 @@
|
|||
- name: set the selinux fcontext type for the buildslave dir to var_lib_t
|
||||
command: semanage fcontext -a -t var_lib_t "{{ item.dir }}(/.*)?"
|
||||
with_items: "{{ slaves }}"
|
||||
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod']
|
||||
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']
|
||||
|
||||
- name: make sure the selinux fcontext is restored
|
||||
command: restorecon -R "{{ item.dir }}"
|
||||
with_items: "{{ slaves }}"
|
||||
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod']
|
||||
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue