2021-01-02 16:25:03 +01:00
|
|
|
---
|
2021-01-02 18:23:10 +01:00
|
|
|
- block:
|
|
|
|
- name: Create the web document root if it does not exists
|
|
|
|
file: dest={{ web_document_root }} state=directory
|
|
|
|
|
|
|
|
- name: Copy the CSS and images under the http server document web root in smartgears nodes
|
|
|
|
copy: src={{ item }} dest={{ web_document_root }}/ force=yes owner=root group=root
|
|
|
|
with_items:
|
|
|
|
- images
|
|
|
|
- css
|
|
|
|
|
|
|
|
- name: Install the index.html file
|
|
|
|
template: src=index.html.j2 dest={{ web_document_root }}/index.html owner=root group=root mode=0644
|
|
|
|
|
|
|
|
tags: [ 'nginx', 'apache', 'web_document_index' ]
|