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

Last change on this file since 13998 was 13993, checked in by uli, 9 years ago

Use a more robust approach when updating remote hosts.

File size: 340 bytes
RevLine 
[13993]1# run `apt-get upgrade` on all waeup hosts
[13956]2
[13993]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.