Skip to content

Commit 2ad8a4f

Browse files
author
Sergio
committed
install security updates daily
1 parent f911de4 commit 2ad8a4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ansible/roles/common/tasks/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@
44

55
- name: New York Time Zone
66
file: src=/usr/share/zoneinfo/America/New_York dest=/etc/localtime owner=root group=root state=link force=true
7+
8+
- cron:
9+
name: "install security updates"
10+
cron_file: security_update
11+
special_time: daily
12+
user: root
13+
job: "yum update -y --security --quiet"

0 commit comments

Comments
 (0)