Add playbook to update all packages (dnf)
This commit is contained in:
parent
9be50929e3
commit
25304d9e7c
11
update_dnf.yml
Normal file
11
update_dnf.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
connection: local
|
||||||
|
tasks:
|
||||||
|
- name: upgrade all packages
|
||||||
|
dnf:
|
||||||
|
name: "*"
|
||||||
|
state: latest
|
||||||
|
- name: Autoremove unneeded packages installed as dependencies
|
||||||
|
dnf:
|
||||||
|
autoremove: yes
|
Loading…
Reference in New Issue
Block a user