initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
- name: Install dnf-automatic package
|
||||||
|
dnf:
|
||||||
|
name: dnf-automatic
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Update config file
|
||||||
|
lineinfile:
|
||||||
|
backup: true
|
||||||
|
path: /etc/dnf/automatic.conf
|
||||||
|
line: "apply_updates = yes"
|
||||||
|
regexp: "^apply_updates.*"
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Enable service
|
||||||
|
service:
|
||||||
|
name: dnf-automatic.timer
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
|
||||||
Reference in New Issue
Block a user