Skip to content
Snippets Groups Projects
Commit 2bae6fea authored by Adrien "ze" Urban's avatar Adrien "ze" Urban
Browse files

vhosts/standard: fix set user/group

unless test -d on file.directory seems useless.
parent 5211bdd7
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ include: ...@@ -24,7 +24,6 @@ include:
{% if site.get('DocumentRoot') != False %} {% if site.get('DocumentRoot') != False %}
{{ id }}-documentroot: {{ id }}-documentroot:
file.directory: file.directory:
- unless: test -d {{ documentroot }}
- name: {{ documentroot }} - name: {{ documentroot }}
- makedirs: True - makedirs: True
{% if site.get('DocumentRootUser') %} {% if site.get('DocumentRootUser') %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment