new file
This commit is contained in:
parent
e1d4e180d9
commit
3d2e1f67e3
1 changed files with 12 additions and 0 deletions
12
linux-update.yaml
Normal file
12
linux-update.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- hosts: "{{ target_hosts }}"
|
||||
become: true
|
||||
tasks:
|
||||
- name: Update apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
|
||||
- name: Upgrade all packages
|
||||
ansible.builtin.apt:
|
||||
upgrade: dist
|
||||
autoremove: true
|
||||
Loading…
Reference in a new issue