2
0

mise au point exercice variabilisation dun role

This commit is contained in:
2018-09-28 13:22:49 +02:00
parent a6d95b9c23
commit 34a54bfae1
2 changed files with 9 additions and 4 deletions

View File

@@ -29,11 +29,11 @@
- name: create documentroot
file:
name: "/var/www/html/{{ servername }}"
name: "{{ documentroot }}"
state: directory
- name: create index file
copy:
src: index.html
dest: "/var/www/html/{{ servername }}/index.html"
dest: "{{ documentroot }}/index.html"
mode: 0644