it's OK to ignore defaults, right?
This commit is contained in:
parent
57f443aab9
commit
215afdbf70
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
|||
when: buildslave_public_sshkey_file is defined and deployment_type in ['dev', 'stg', 'prod']
|
||||
|
||||
- name: ensure correct fcontext for buildslave dir
|
||||
file: path={{ item.home }}/slave setype=var_lib_t
|
||||
file: path={{ item.home }}/slave setype=var_lib_t owner={{ item.user }} group={{ slaves_group }} mode=0700 state=directory
|
||||
with_items:
|
||||
- '{{ slaves|default([dict(user="", home="", dir="")]) }}'
|
||||
when: deployment_type in ['dev']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue