mise au point exercice variabilisation dun role
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user