From b56721c23dc239fa0c8446e6b4ccf3616c853a2e Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Mon, 7 Sep 2026 17:41:07 +0100 Subject: simplify update http script --- roles/http/tasks/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'roles/http/tasks') diff --git a/roles/http/tasks/main.yml b/roles/http/tasks/main.yml index 4907c55..dc44b95 100644 --- a/roles/http/tasks/main.yml +++ b/roles/http/tasks/main.yml @@ -106,14 +106,8 @@ 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 + job: git -C {{ src_dir }}/joeac.net/http pull; make -- cgit v1.2.3