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 %}
|
{% 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') %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user