vhosts/standard: fix set user/group

unless test -d on file.directory seems useless.
This commit is contained in:
Adrien "ze" Urban 2018-06-27 17:08:37 +00:00
parent 5211bdd72b
commit 2bae6fea10

View File

@ -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') %}