edit
This commit is contained in:
parent
c71fa4a1d8
commit
1275160419
1 changed files with 2 additions and 3 deletions
|
|
@ -1,14 +1,13 @@
|
|||
---
|
||||
- hosts: "{{ target_hosts }}"
|
||||
become: true
|
||||
become_user: stackautomation
|
||||
tasks:
|
||||
- name: Update apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Upgrade all packages
|
||||
ansible.builtin.apt:
|
||||
upgrade: dist
|
||||
autoremove: true
|
||||
delegate_to: localhost
|
||||
Loading…
Reference in a new issue