mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Update ansible-2.6.x
This commit is contained in:
parent
56366bddce
commit
7ce16bc196
1 changed files with 4 additions and 4 deletions
|
@ -50,10 +50,10 @@ if [ ! `command -v ansible-playbook` ]; then # "command -v" is POSIX compliant
|
|||
apt update
|
||||
#apt -y install dirmngr python-pip python-setuptools python-wheel patch
|
||||
apt -y install dirmngr
|
||||
if ! grep -qx "deb http://ppa.launchpad.net/ansible/ansible-2.6/ubuntu xenial main" /etc/apt/sources.list /etc/apt/sources.list.d/*.list; then
|
||||
echo "deb http://ppa.launchpad.net/ansible/ansible-2.6/ubuntu xenial main" \
|
||||
> /etc/apt/sources.list.d/iiab-ansible.list
|
||||
fi
|
||||
#if ! grep -qx "deb http://ppa.launchpad.net/ansible/ansible-2.6/ubuntu xenial main" /etc/apt/sources.list /etc/apt/sources.list.d/*.list; then
|
||||
echo "deb http://ppa.launchpad.net/ansible/ansible-2.6/ubuntu xenial main" \
|
||||
> /etc/apt/sources.list.d/iiab-ansible.list
|
||||
#fi
|
||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue