Compare commits

...

2 Commits

Author SHA1 Message Date
e4acfcec47 gitea: SSH port fix 2026-03-04 14:44:06 +02:00
c644788275 Add dnf automatic updates 2026-02-04 14:07:26 +02:00
2 changed files with 7 additions and 1 deletions

View File

@@ -22,7 +22,7 @@
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "222:22" - "222:222"
generate_systemd: generate_systemd:
new: true new: true
restart_policy: "always" restart_policy: "always"

View File

@@ -6,6 +6,12 @@
ansible.builtin.dnf: ansible.builtin.dnf:
name: "{{ dnf_packages }}" name: "{{ dnf_packages }}"
- name: Enable autoupdate timer
ansible.builtin.systemd:
name: dnf-automatic.timer
enabled: true
state: started
- name: Enable firewalld - name: Enable firewalld
ansible.builtin.systemd: ansible.builtin.systemd:
name: firewalld name: firewalld