From 3765665e1087eecc248d33a9492d092bba1f3e1c Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 26 Aug 2026 13:51:09 +0100 Subject: http is self-updating --- roles/http/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'roles/http/tasks') diff --git a/roles/http/tasks/main.yml b/roles/http/tasks/main.yml index f8a0078..9d2ae22 100644 --- a/roles/http/tasks/main.yml +++ b/roles/http/tasks/main.yml @@ -100,3 +100,15 @@ owner: nginx group: nginx mode: "600" + +- name: Install script to update http + ansible.builtin.template: + src: update_http + dest: /usr/bin/update_http + mode: "755" + +- name: Install daily crontab to update http + ansible.builtin.cron: + special_time: daily + name: Update http + job: /usr/bin/update_http -- cgit v1.2.3