Added update playbooks
This commit is contained in:
parent
64b6c6dba4
commit
5781b68659
2 changed files with 16 additions and 0 deletions
8
Playbooks/update-apt.yaml
Normal file
8
Playbooks/update-apt.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- hosts: debian
|
||||||
|
tasks:
|
||||||
|
- name: update APT packages
|
||||||
|
apt:
|
||||||
|
upgrade: yes
|
||||||
|
update_cache: yes
|
||||||
8
Playbooks/update-dnf.yaml
Normal file
8
Playbooks/update-dnf.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- hosts: fedora
|
||||||
|
tasks:
|
||||||
|
- name: Upgrade all packages
|
||||||
|
ansible.builtin.dnf:
|
||||||
|
name: "*"
|
||||||
|
state: latest
|
||||||
Loading…
Add table
Add a link
Reference in a new issue