diff --git a/scripts/ansible b/scripts/ansible index 9000700f5..1c3cf8ba9 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -1,11 +1,14 @@ #!/bin/bash -e +# FWIW "-e" tries to exit right away on error: +# https://tldp.org/LDP/abs/html/options.html +# https://stackoverflow.com/questions/9952177/whats-the-meaning-of-the-parameter-e-for-bash-shell-command-line/9952249 # PLZ SEE http://FAQ.IIAB.IO > "What is Ansible and what version should I use?" # https://github.com/iiab/iiab/tree/master/scripts/ansible.md -APT_PATH=/usr/bin # Avoids problematic /usr/local/bin/apt on Linux Mint -CURR_VER="undefined" # Ansible version you currently have installed -GOOD_VER="2.10.6" # Orig for 'yum install [rpm]' & XO laptops (pip install) +APT_PATH=/usr/bin # Avoids problematic /usr/local/bin/apt on Linux Mint +CURR_VER=undefined # Ansible version you currently have installed +GOOD_VER=2.10.6 # Orig for 'yum install [rpm]' & XO laptops (pip install) # We install the latest 'ansible-base' from PPA, using an OS 'CODENAME' below: # https://launchpad.net/~ansible/+archive/ubuntu/ansible