fixed condition
This commit is contained in:
parent
bd0effd370
commit
720cabf05b
@ -12,12 +12,12 @@
|
|||||||
- name: set DocumentRoot
|
- name: set DocumentRoot
|
||||||
set_fact:
|
set_fact:
|
||||||
docroot: "/var/www/html"
|
docroot: "/var/www/html"
|
||||||
when: not docroot is defined
|
when: docroot is not defined
|
||||||
|
|
||||||
- name: set domainname
|
- name: set domainname
|
||||||
set_fact:
|
set_fact:
|
||||||
domainname: "{{ inventory_hostname }}"
|
domainname: "{{ inventory_hostname }}"
|
||||||
when: not domainname is defined
|
when: domainname is not defined
|
||||||
|
|
||||||
- name: create wwwroot
|
- name: create wwwroot
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user