Add playbooks/patch.yml
This commit is contained in:
parent
6ab0956b3e
commit
d017523c7e
1 changed files with 13 additions and 0 deletions
13
playbooks/patch.yml
Normal file
13
playbooks/patch.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: Patch Linux systems
|
||||
hosts: all
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Update apt cache
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Upgrade packages
|
||||
apt:
|
||||
upgrade: dist
|
||||
Loading…
Add table
Add a link
Reference in a new issue