d
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful

This commit is contained in:
Michael Grote 2024-06-05 18:54:03 +02:00
parent 11a0845bfa
commit 5ea40b6d46
3 changed files with 14 additions and 12 deletions

View file

@ -1,3 +1,3 @@
---
docker_housekeeping_schedule:
docker_housekeeping_schedule: "weekly"
...

View file

@ -4,17 +4,7 @@
ansible.builtin.systemd:
daemon_reload: true
- name: systemctl enable units
become: true
ansible.builtin.systemd:
name: "{{ item }}"
enabled: true
masked: false
with_items:
- docker_housekeeping.service
- docker_housekeeping.timer
- name: systemctl start units
- name: Start timer
become: true
ansible.builtin.systemd:
name: docker_housekeeping.timer

View file

@ -20,4 +20,16 @@
mode: "0644"
notify:
- systemctl daemon-reload
- name: Enable Units
become: true
ansible.builtin.systemd:
name: "{{ item }}"
enabled: true
masked: false
with_items:
- docker_housekeeping.service
- docker_housekeeping.timer
notify:
- Start timer
...