diff --git a/playbooks/roles/docker_compose/tasks/main.yaml b/playbooks/roles/docker_compose/tasks/main.yaml index 63cb9fc..3a434ec 100644 --- a/playbooks/roles/docker_compose/tasks/main.yaml +++ b/playbooks/roles/docker_compose/tasks/main.yaml @@ -98,6 +98,12 @@ # 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) +- name: Make sure anacron is installed + become: true + ansible.builtin.package: + name: anacron + state: present + - name: Install automatic update cron job become: true ansible.builtin.cron: