New structure
This commit is contained in:
12
playbooks/apt2-update.yml
Normal file
12
playbooks/apt2-update.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
vars:
|
||||
ansible_host_key_checking: false ##If you get an error about hosts not trusted
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Update all packages to their latest version
|
||||
ansible.builtin.apt:
|
||||
name: "*"
|
||||
state: latest
|
Reference in New Issue
Block a user