Skip to content

Commit cdf4a81

Browse files
committed
Update
1 parent 1f7dad7 commit cdf4a81

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/aws/uid2-operator-ami/ansible/playbook.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
name: nmap-ncat
2020
state: latest
2121

22+
- name: Install cron
23+
ansible.builtin.dnf:
24+
name: cronie
25+
state: latest
26+
2227
- name: Install python
2328
ansible.builtin.dnf:
2429
name:
@@ -250,6 +255,12 @@
250255
name: uid2operator.service
251256
enabled: yes
252257

258+
- name: Ensure cron is enabled at boot
259+
ansible.builtin.systemd:
260+
name: crond
261+
state: started
262+
enabled: yes
263+
253264
- name: Install time sync cron job
254265
ansible.builtin.copy:
255266
dest: /etc/cron.d/uid2-time-sync

0 commit comments

Comments
 (0)