Make sure anacron is installed
This commit is contained in:
parent
343a67e0e7
commit
7a0935cecf
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue