Basic update upgrade playbook
This commit is contained in:
parent
18c2b8de4d
commit
04f10ab00a
|
@ -0,0 +1,2 @@
|
|||
[defaults]
|
||||
inventory = ./hosts
|
|
@ -0,0 +1,13 @@
|
|||
- name: Upgrade all systems
|
||||
hosts: all
|
||||
become: yes
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
- name: Updating apt cache
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Upgrading all packages
|
||||
apt:
|
||||
upgrade: yes
|
Loading…
Reference in New Issue