mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1117 from holta/ansible-min-2.6.4
MIN_ANSIBLE_VER 2.5.8. -> 2.6.4
This commit is contained in:
commit
fe6f26918b
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ CWD=`pwd`
|
|||
OS=`grep ^ID= /etc/*release|cut -d= -f2`
|
||||
OS=${OS//\"/}
|
||||
MIN_RPI_KERN=4.9.59-v7+
|
||||
MIN_ANSIBLE_VER=2.5.8
|
||||
MIN_ANSIBLE_VER=2.6.4
|
||||
|
||||
if [ ! -f /etc/iiab/local_vars.yml ]; then
|
||||
|
||||
|
@ -96,7 +96,7 @@ CURR_ANSIBLE_VER=0
|
|||
if [[ `command -v ansible` ]]; then # "command -v" is POSIX compliant; it catches built-in commands like "cd"
|
||||
#CURR_ANSIBLE_VER=`ansible --version | head -1 | sed -e 's/.* //'`
|
||||
#CURR_ANSIBLE_VER=`ansible --version | head -1 | cut -f 2 -d " "`
|
||||
CURR_ANSIBLE_VER=`ansible --version | head -1 | awk '{print $2}'` # to match scripts/ansible
|
||||
CURR_ANSIBLE_VER=`ansible --version | head -1 | awk '{print $2}'` # to match scripts/ansible
|
||||
echo "Found Ansible "$CURR_ANSIBLE_VER""
|
||||
fi
|
||||
if version_gt $MIN_ANSIBLE_VER $CURR_ANSIBLE_VER ; then
|
||||
|
|
Loading…
Add table
Reference in a new issue