From bdde411f9e7465f34778345f9211ab659725f13b Mon Sep 17 00:00:00 2001 From: lulzette Date: Thu, 4 Mar 2021 18:58:53 +0300 Subject: [PATCH] root --- 1/roles/webapps/files/root/index.html | 14 ++++++++++++++ 1/roles/webapps/tasks/main.yml | 5 ++++- 1/roles/webapps/tasks/root.yml | 5 +++++ README.md | 2 +- 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 1/roles/webapps/files/root/index.html create mode 100644 1/roles/webapps/tasks/root.yml diff --git a/1/roles/webapps/files/root/index.html b/1/roles/webapps/files/root/index.html new file mode 100644 index 0000000..8a3549b --- /dev/null +++ b/1/roles/webapps/files/root/index.html @@ -0,0 +1,14 @@ + + + +Hello + + + +
+

+ test page +

+
+ + \ No newline at end of file diff --git a/1/roles/webapps/tasks/main.yml b/1/roles/webapps/tasks/main.yml index b37daca..a593534 100644 --- a/1/roles/webapps/tasks/main.yml +++ b/1/roles/webapps/tasks/main.yml @@ -8,4 +8,7 @@ include_tasks: pma.yml - name: install Mediawiki - include_tasks: wiki.yml \ No newline at end of file + include_tasks: wiki.yml + +- name: install root + include_tasks: root.yml \ No newline at end of file diff --git a/1/roles/webapps/tasks/root.yml b/1/roles/webapps/tasks/root.yml new file mode 100644 index 0000000..a32fc95 --- /dev/null +++ b/1/roles/webapps/tasks/root.yml @@ -0,0 +1,5 @@ +--- +- name: copy html file + copy: + src: files/index.html + dest: /var/www/root/ diff --git a/README.md b/README.md index 948c8d0..a70f91c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Web: - [ ] Установить nextcloud - [x] Установить mediawiki - [x] Установить phpmyadmin - - [ ] Разместить файлы about (root) сайта + - [x] Разместить файлы about (root) сайта Дополнительно - [ ] Почтовый сервер на отправку писем локально