vhosts/standard: fix set user/group
unless test -d on file.directory seems useless.
This commit is contained in:
parent
5211bdd72b
commit
2bae6fea10
@ -24,7 +24,6 @@ include:
|
||||
{% if site.get('DocumentRoot') != False %}
|
||||
{{ id }}-documentroot:
|
||||
file.directory:
|
||||
- unless: test -d {{ documentroot }}
|
||||
- name: {{ documentroot }}
|
||||
- makedirs: True
|
||||
{% if site.get('DocumentRootUser') %}
|
||||
|
Loading…
Reference in New Issue
Block a user