mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update ansible
This commit is contained in:
parent
d1690b7a41
commit
653096f599
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ if [ ! `command -v ansible-playbook` ]; then # "command -v" is POSIX compliant
|
|||
# Parens are optional, but greatly clarify :)
|
||||
elif (grep -qi ubuntu /etc/lsb-release 2> /dev/null) || (grep -qi ubuntu /etc/os-release); then
|
||||
#apt -y install python-pip python-setuptools python-wheel patch
|
||||
apt -y install software-properties-common
|
||||
apt-add-repository -y ppa:ansible/ansible
|
||||
apt -y install software-properties-common # adds command "apt-add-repository"
|
||||
apt-add-repository -y ppa:ansible/ansible # adds line "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main" to /etc/apt/sources.list.d/ansible-ubuntu-ansible-bionic.list
|
||||
#apt-add-repository -y ppa:ansible/ansible-2.4
|
||||
# elif UBUNTU MUST REMAIN ABOVE (as Ubuntu ALSO contains /etc/debian_version, which would trigger the line just below)
|
||||
elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then
|
||||
|
|
Loading…
Reference in a new issue