Skip to content

Commit 7f56982

Browse files
committed
Update to Fedora 41
1 parent 7f8359f commit 7f56982

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,9 @@ Note down the outputs to verify later, e.g.,
164164

165165
```
166166
# Use these for comparison when connecting yourself.
167-
1024 SHA256:J2sbqvhI/VszBtVvPabgxyz6sRnGLrZUn0kqfv4doAM [email protected] (DSA)
168-
256 SHA256:J0rOMayXhL1+5wbm4WQNpAvmscDjqwJjAtk1SLemRMI [email protected] (ECDSA)
169-
256 SHA256:y8EDRGMpLWOW72x47MVKsAfSAl8JHjsOc/RGaiMTPGs [email protected] (ED25519)
170-
3072 SHA256:AyuNO8FES5k9vobv0Pu9XpvtjVFZ1bTTNxb1lo+AuRA [email protected] (RSA)
167+
256 SHA256:p6MiA8+IO1WcpXHDOQ4rhiVCo+MDxWB7ehfNfxvbDkU [email protected] (ECDSA)
168+
256 SHA256:RfDahJqnQFLeFN+zl9f+hmB+W05OoZK26NfNQkj6KtY [email protected] (ED25519)
169+
3072 SHA256:tYwdULlz5/XP5Ze7PCj9XpO3VIMEZkiOiFuhr9nke34 [email protected] (RSA)
171170
```
172171

173172
Finally, you should reboot the droplet. This is due to a bug in cloud-init on

create.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
community.digitalocean.digital_ocean_droplet:
9292
state: present
9393
name: "{{ host }}.matplotlib.org"
94-
image: fedora-39-x64
94+
image: fedora-41-x64
9595
monitoring: true
9696
project: matplotlib.org
9797
region: tor1

files/dnf5-automatic.conf

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[commands]
2+
apply_updates = yes

matplotlib.org.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
- name: Install server maintenance
4646
ansible.builtin.dnf:
4747
name:
48-
- dnf-automatic
48+
- dnf5-plugin-automatic
4949
- fail2ban
5050
state: present
5151

@@ -63,8 +63,8 @@
6363
name:
6464
- golang-github-prometheus
6565
- golang-github-prometheus-alertmanager
66-
- golang-github-prometheus-node-exporter
6766
- grafana
67+
- node-exporter
6868
# Remove this when Loki is packaged.
6969
- podman
7070
state: present
@@ -77,9 +77,14 @@
7777

7878
# Automatic updates
7979
# #################
80+
- name: Configure automatic updates
81+
ansible.builtin.copy:
82+
src: dnf5-automatic.conf
83+
dest: /etc/dnf/dnf5-plugins/automatic.conf
84+
8085
- name: Enable automatic updates
8186
ansible.builtin.systemd:
82-
name: dnf-automatic-install.timer
87+
name: dnf5-automatic.timer
8388
enabled: true
8489
state: started
8590

0 commit comments

Comments
 (0)