Compare commits
2 Commits
720cabf05b
...
89334758ea
Author | SHA1 | Date | |
---|---|---|---|
89334758ea | |||
897666f459 |
3
defaults/main.yml
Normal file
3
defaults/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
docroot: /var/www/html
|
||||
domainname: "{{ inventory_hostname }}"
|
@ -9,16 +9,6 @@
|
||||
include_role:
|
||||
name: acmesh
|
||||
|
||||
- name: set DocumentRoot
|
||||
set_fact:
|
||||
docroot: "/var/www/html"
|
||||
when: docroot is not defined
|
||||
|
||||
- name: set domainname
|
||||
set_fact:
|
||||
domainname: "{{ inventory_hostname }}"
|
||||
when: domainname is not defined
|
||||
|
||||
- name: create wwwroot
|
||||
file:
|
||||
path: "{{ docroot }}"
|
||||
|
Loading…
Reference in New Issue
Block a user