Commit efa71753 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Include index.html always

 Install folder is exposed via a http server, so include an simple index.html.
parent 176b7420
...@@ -15,3 +15,4 @@ slapprepare/slapprepare.egg-info ...@@ -15,3 +15,4 @@ slapprepare/slapprepare.egg-info
.*.swp .*.swp
build build
dist dist
playbook/install
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
default: "notoken" default: "notoken"
roles: roles:
- re6stnet - { role: re6stnet, package_state: present }
- slapos - { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present } - { role: package, package_name: ntp, package_state: present }
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
- name: generate scripts - name: generate scripts
template: src=roles/install-script/templates/dev.j2 dest={{ base_path }}/install/devbook mode=0666 template: src=roles/install-script/templates/dev.j2 dest={{ base_path }}/install/devbook mode=0666
- name: generate index.html
copy: src=roles/install-script/files/index.html dest={{ base_path }}/install/index.html mode=0666
- name: generate index.html
copy: src=roles/install-script/files/index.html dest={{ base_path }}/install/gnet/index.html mode=0666
- name: generate index.html
copy: src=roles/install-script/files/index.html dest={{ base_path }}/install/imt/index.html mode=0666
roles: roles:
- { role: "install-script", playbook_yml: "slapos.yml", script_path: "install/slapos" } - { role: "install-script", playbook_yml: "slapos.yml", script_path: "install/slapos" }
- { role: "install-script", playbook_yml: "re6stnet.yml", script_path: "install/re6st"} - { role: "install-script", playbook_yml: "re6stnet.yml", script_path: "install/re6st"}
......
<html>
<head>
<title></tile>
</head>
<body>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment