Upgrade playbook

This commit is contained in:
Alexandre Iooss 2019-02-27 20:32:56 +01:00
parent 9d7690c033
commit 74a23c2116

12
upgrade.yml Normal file
View file

@ -0,0 +1,12 @@
---
# This is a special playbook to upgrade all selected servers !
# Please always use with --limit myserver.adm.auro.re
# And list updates with --check
- hosts: all
tasks:
- name: Upgrade
apt:
upgrade: dist
update_cache: yes
cache_valid_time: 86400 # one day