create ansible playbook to update ubuntu on all nodes
This commit is contained in:
parent
a7ac2a0d63
commit
e45ee57c25
|
|
@ -0,0 +1,7 @@
|
|||
- hosts: "*"
|
||||
become: yes
|
||||
tasks:
|
||||
- name: apt
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: 'yes'
|
||||
|
|
@ -0,0 +1 @@
|
|||
ansible-playbook playbooks/apt.yaml --user someuser --ask-pass --ask-become-pass -i inventory/k3s-ansible/hosts.ini
|
||||
Loading…
Reference in New Issue