Skip to content

Commit 94b83af

Browse files
committed
Enable automatic updates
Theoretically, this might break things, but Fedora is quite stable, and I don't think this server is critical enough that being secure is less important than never changing.
1 parent 2840dc1 commit 94b83af

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

matplotlib.org.yml

+11-1
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)