summaryrefslogtreecommitdiff
path: root/roles/http/tasks/main.yml
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-09-07 17:41:07 +0100
committerJoe Carstairs <me@joeac.net>2026-09-07 17:41:07 +0100
commitb56721c23dc239fa0c8446e6b4ccf3616c853a2e (patch)
tree88e62aea3776736e0502d1867d258af0e3b560f8 /roles/http/tasks/main.yml
parentc1ae5e365e37cf9235656da83612af821ca1a44f (diff)
simplify update http script
Diffstat (limited to 'roles/http/tasks/main.yml')
-rw-r--r--roles/http/tasks/main.yml8
1 files changed, 1 insertions, 7 deletions
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