mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
# to match scripts/ansible
This commit is contained in:
parent
076135db1a
commit
035bc4e26a
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,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}'`
|
||||
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