Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2bf12c7

Browse files
authored
Merge pull request #21 from QuLogic/auto-update
Enable automatic updates
2 parents f7182de + 94b83af commit 2bf12c7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

matplotlib.org.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141

4242
- name: Install server maintenance
4343
ansible.builtin.dnf:
44-
name: "fail2ban"
44+
name:
45+
- dnf-automatic
46+
- fail2ban
4547
state: present
4648

4749
- name: Install web server requirements
@@ -64,6 +66,14 @@
6466
- podman
6567
state: present
6668

69+
# Automatic updates
70+
# #################
71+
- name: Enable automatic updates
72+
ansible.builtin.systemd:
73+
name: dnf-automatic-install.timer
74+
enabled: true
75+
state: started
76+
6777
# Firewall setup
6878
# ##############
6979
- name: Setup firewall

0 commit comments

Comments
 (0)