add automatic updates
This commit is contained in:
3
roles/fedora_workstation/files/automatic.conf
Normal file
3
roles/fedora_workstation/files/automatic.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
[commands]
|
||||
apply_updates=True
|
||||
reboot=never
|
||||
@@ -27,9 +27,24 @@
|
||||
- curl
|
||||
- wget
|
||||
- fastfetch
|
||||
- dnf5-plugin-automatic
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- name: Copy DNF Automatic configuration /etc/dnf/
|
||||
ansible.builtin.copy:
|
||||
src: files/automatic.conf
|
||||
dest: "/etc/dnf/"
|
||||
mode: "0644"
|
||||
become: true
|
||||
|
||||
- name: Enable DNF Automatic Timer
|
||||
ansible.builtin.systemd:
|
||||
name: dnf-automatic.timer
|
||||
enabled: true
|
||||
state: started
|
||||
become: true
|
||||
|
||||
- name: Ensure flatpak is installed
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
|
||||
Reference in New Issue
Block a user