From 8f3e1bf450b5f7c9b64a3288a7d1c444f6d6cd0e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 15 Oct 2023 10:16:56 +0300 Subject: apt.liw.fi: all.sh; install index page Signed-off-by: Lars Wirzenius Sponsored-by: author --- ansible/roles/apt-repository/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ansible/roles') diff --git a/ansible/roles/apt-repository/tasks/main.yml b/ansible/roles/apt-repository/tasks/main.yml index 39f8c44..6bf8412 100644 --- a/ansible/roles/apt-repository/tasks/main.yml +++ b/ansible/roles/apt-repository/tasks/main.yml @@ -96,6 +96,12 @@ state: directory path: /srv/http +- name: "install an index page in the web root directory" + copy: + content: | + {{ apt_index_content }} + dest: /srv/http/index.html + - name: "configure apache to server APT repository over http" template: src: 000-default.conf -- cgit v1.2.1