Make sure anacron is installed

This commit is contained in:
Stefan Bethke 2024-08-11 21:08:57 +02:00
parent 343a67e0e7
commit 7a0935cecf

View file

@ -98,6 +98,12 @@
# changed_when: (docker_compose__ps_json_before_up.stdout | from_json | community.general.json_query('[].ID') | sort) # changed_when: (docker_compose__ps_json_before_up.stdout | from_json | community.general.json_query('[].ID') | sort)
# != (docker_compose__ps_json_after_up.stdout | from_json | community.general.json_query('[].ID') | sort) # != (docker_compose__ps_json_after_up.stdout | from_json | community.general.json_query('[].ID') | sort)
- name: Make sure anacron is installed
become: true
ansible.builtin.package:
name: anacron
state: present
- name: Install automatic update cron job - name: Install automatic update cron job
become: true become: true
ansible.builtin.cron: ansible.builtin.cron: