Added update playbooks
This commit is contained in:
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
|
Reference in New Issue
Block a user