Feat: Add global index
This commit is contained in:
parent
28030c93bb
commit
9fbb2f7778
|
@ -0,0 +1 @@
|
|||
<h1> Serveur pédagogique pour {{ item.name }} </h1>
|
|
@ -52,16 +52,21 @@
|
|||
login_user: root
|
||||
login_password: "{{ mysql_root_password }}"
|
||||
|
||||
# UFW Configuration
|
||||
- name: "UFW - Allow HTTP on port {{ http_port }}"
|
||||
ufw:
|
||||
rule: allow
|
||||
port: "{{ http_port }}"
|
||||
proto: tcp
|
||||
|
||||
# PHP Info Page
|
||||
- name: Sets Up PHP Info Page
|
||||
template:
|
||||
src: "files/info.php.j2"
|
||||
dest: "/var/www/{{ http_host }}/info.php"
|
||||
|
||||
- name: Sets Up Index page
|
||||
template:
|
||||
src: "files/index.html.j2"
|
||||
dest: "/var/www/{{ http_host }}/info.php"
|
||||
vars:
|
||||
item.name: "la SNT"
|
||||
|
||||
|
|
Loading…
Reference in New Issue