source: main/waeup-ansible/UPGRADE_HOSTS.sh @ 14032

Last change on this file since 14032 was 13993, checked in by uli, 8 years ago

Use a more robust approach when updating remote hosts.

File size: 340 bytes
Line 
1# run `apt-get upgrade` on all waeup hosts
2
3## use this if you are sure there are no problems ahead (adventurous)
4# ansible -i hosts all -K -b -m shell -a "/usr/bin/aptitude -y safe-upgrade"
5## use this version to abort in any complex situation (safe way)
6ansible -i hosts all -K -b -m shell -a "/usr/bin/apt-get -y --trivial-only upgrade"
Note: See TracBrowser for help on using the repository browser.