diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-26 08:48:58 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-26 08:49:14 +0100 |
| commit | 1837f2c9b1a00ce2d50ebb5f8c63032993a5d000 (patch) | |
| tree | ae6d55104d5506aa25c4b5e173fd7f49168662a4 /roles/etherpad/tasks | |
| parent | dcab47136092d056f1729f004b81e0093106852c (diff) | |
etherpad auto-updates
Diffstat (limited to 'roles/etherpad/tasks')
| -rw-r--r-- | roles/etherpad/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/etherpad/tasks/main.yml b/roles/etherpad/tasks/main.yml index 185fe51..9575ce9 100644 --- a/roles/etherpad/tasks/main.yml +++ b/roles/etherpad/tasks/main.yml @@ -63,3 +63,15 @@ name: etherpad enabled: true state: started + +- name: Install script to update etherpad + ansible.builtin.template: + src: update_etherpad + dest: /usr/bin/update_etherpad + mode: "755" + +- name: Install daily crontab to update etherpad + ansible.builtin.cron: + special_time: daily + name: Update etherpad + job: /usr/bin/update_etherpad |
