Changeset 13993 for main/waeup-ansible


Ignore:
Timestamp:
27 Jun 2016, 07:39:05 (8 years ago)
Author:
uli
Message:

Use a more robust approach when updating remote hosts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup-ansible/UPGRADE_HOSTS.sh

    r13956 r13993  
     1# run `apt-get upgrade` on all waeup hosts
    12
    2 ansible -i hosts all -K -b -m shell -a "/usr/bin/aptitude -y safe-upgrade"
     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 TracChangeset for help on using the changeset viewer.