mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Improved output for implementers
This commit is contained in:
parent
f169946549
commit
29225fc590
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ else
|
|||
fi
|
||||
#if [[ `grep -qi ansible /etc/apt/sources.list` ]] || [ -f /etc/apt/sources.list.d/ansible*.list ]; then
|
||||
if [[ `grep -i ansible /etc/apt/sources.list` ]] || ls /etc/apt/sources.list.d/ansible*.list >/dev/null 2>&1 ; then
|
||||
echo "Ansible repo(s) found"
|
||||
echo "Ansible repo(s) found within /etc/apt/sources.list*"
|
||||
else
|
||||
echo "Upstream ansible source repo not found, please uninstall ansible and re-run this script"
|
||||
exit 1
|
||||
|
@ -73,7 +73,7 @@ else
|
|||
fi
|
||||
|
||||
if [ ! -f /etc/centos-release ] && [ ! -f /etc/fedora-release ] && [ ! -f /etc/olpc-release ]; then
|
||||
echo "Using apt to check for & install ansible updates"
|
||||
echo "Using apt to check for updates, then install/upgrade ansible"
|
||||
apt update
|
||||
apt -y install ansible
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue