Skip to content

Commit

Permalink
Update to Fedora 41
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed Feb 14, 2025
1 parent 7f8359f commit 7f56982
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,9 @@ Note down the outputs to verify later, e.g.,

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

Finally, you should reboot the droplet. This is due to a bug in cloud-init on
Expand Down
2 changes: 1 addition & 1 deletion create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
community.digitalocean.digital_ocean_droplet:
state: present
name: "{{ host }}.matplotlib.org"
image: fedora-39-x64
image: fedora-41-x64
monitoring: true
project: matplotlib.org
region: tor1
Expand Down
2 changes: 2 additions & 0 deletions files/dnf5-automatic.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[commands]
apply_updates = yes
11 changes: 8 additions & 3 deletions matplotlib.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
- name: Install server maintenance
ansible.builtin.dnf:
name:
- dnf-automatic
- dnf5-plugin-automatic
- fail2ban
state: present

Expand All @@ -63,8 +63,8 @@
name:
- golang-github-prometheus
- golang-github-prometheus-alertmanager
- golang-github-prometheus-node-exporter
- grafana
- node-exporter
# Remove this when Loki is packaged.
- podman
state: present
Expand All @@ -77,9 +77,14 @@

# Automatic updates
# #################
- name: Configure automatic updates
ansible.builtin.copy:
src: dnf5-automatic.conf
dest: /etc/dnf/dnf5-plugins/automatic.conf

- name: Enable automatic updates
ansible.builtin.systemd:
name: dnf-automatic-install.timer
name: dnf5-automatic.timer
enabled: true
state: started

Expand Down

0 comments on commit 7f56982

Please sign in to comment.