summaryrefslogtreecommitdiff
path: root/lamp/templates
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2023-05-03 16:08:36 +0200
committerjerome <jerome@xlinfo.fr>2023-05-03 16:08:36 +0200
commit948266d1c7f1ae107487699340715ddd41665f01 (patch)
treebf4fda27a3edf7bd259e6a9940608fc79545804a /lamp/templates
downloadansible-lamp-948266d1c7f1ae107487699340715ddd41665f01.tar.gz
ansible-lamp-948266d1c7f1ae107487699340715ddd41665f01.zip
commit initial0.1
Diffstat (limited to 'lamp/templates')
-rw-r--r--lamp/templates/index.j217
1 files changed, 17 insertions, 0 deletions
diff --git a/lamp/templates/index.j2 b/lamp/templates/index.j2
new file mode 100644
index 0000000..2c338ad
--- /dev/null
+++ b/lamp/templates/index.j2
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>{{ansible_distribution}} Apache Web Server</title>
+</head>
+<body>
+<h1>{{ansible_distribution}} Apache Web Server</h1>
+{% if lamp_packages is defined %}
+<h2>Packages :</h2>
+<ul>
+{% for item in lamp_packages %}
+<li>{{item}}</li>
+{% endfor %}
+</ul>
+{% endif %}
+</body>
+</html>