Merge "Playbook to run upgrades"
This commit is contained in:
commit
d6299790b0
6
playbooks/attended_upgrades.yml
Normal file
6
playbooks/attended_upgrades.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- hosts: all
|
||||||
|
gather_facts: true
|
||||||
|
tasks:
|
||||||
|
- name: run unattended upgrades
|
||||||
|
shell: apt-get update && unattended-upgrade
|
||||||
|
when: ansible_os_family == "Debian"
|
Loading…
x
Reference in New Issue
Block a user