set up cronjob and timer
This commit is contained in:
@@ -40,6 +40,20 @@
|
||||
- name: Install traefik
|
||||
ansible.builtin.include_tasks: traefik.yml
|
||||
|
||||
- name: Install systemd services
|
||||
ansible.builtin.template:
|
||||
src: "systemd/{{ file }}"
|
||||
dest: "/etc/systemd/system/{{ file }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0766'
|
||||
notify: Reload systemd
|
||||
loop:
|
||||
- chill-cronjob@.service
|
||||
- chill-cronjob@.timer
|
||||
loop_control:
|
||||
loop_var: file
|
||||
|
||||
- name: Install individual chill
|
||||
ansible.builtin.include_tasks: chill/main.yml
|
||||
with_items: "{{ chills }}"
|
||||
|
Reference in New Issue
Block a user