fixed condition

This commit is contained in:
Alexander Gabriel 2023-03-18 18:07:26 +01:00
parent bd0effd370
commit 720cabf05b

View File

@ -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: