tweaking semanage command to workaround error
This commit is contained in:
parent
40561379f2
commit
11de748b25
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
when: slaves is defined and (deployment_type == 'stg' or deployment_type in ['dev', 'prod'])
|
||||
|
||||
- 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 }}"
|
||||
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