remove semanage command for dev buildslave
This commit is contained in:
parent
cab58c7932
commit
57f443aab9
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
||||||
- name: set the selinux fcontext type for the buildslave dir to var_lib_t
|
- name: set the selinux fcontext type for the buildslave dir to var_lib_t
|
||||||
command: semanage fcontext -a -t var_lib_t "{{ item.dir }}"
|
command: semanage fcontext -a -t var_lib_t "{{ item.dir }}"
|
||||||
with_items: "{{ slaves }}"
|
with_items: "{{ slaves }}"
|
||||||
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']
|
when: slaves is defined and deployment_type in ['stg', 'prod', 'qa-prod', 'qa-stg']
|
||||||
|
|
||||||
- name: make sure the selinux fcontext is restored
|
- name: make sure the selinux fcontext is restored
|
||||||
command: restorecon -R "{{ item.dir }}"
|
command: restorecon -R "{{ item.dir }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue