diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-15 10:16:56 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-15 10:16:56 +0300 |
commit | 8f3e1bf450b5f7c9b64a3288a7d1c444f6d6cd0e (patch) | |
tree | 08b3f894a69fb809983ee82c8d186ef3eb88fc05 /ansible/roles | |
parent | 8155ab074930c887b1edfdbb9c228459e90859ed (diff) | |
download | ansibleness-8f3e1bf450b5f7c9b64a3288a7d1c444f6d6cd0e.tar.gz |
apt.liw.fi: all.sh; install index page
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/apt-repository/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |