diff --git a/scripts/ansible b/scripts/ansible index 8d4f7ead8..27a992211 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -40,7 +40,8 @@ if [ ! `command -v ansible-playbook` ]; then # "command -v" is POSIX compliant elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then if ( ! grep -qi ansible /etc/apt/sources.list) && [ ! -f /etc/apt/sources.list.d/ansible ]; then apt update - apt -y install dirmngr python-pip python-setuptools python-wheel patch + #apt -y install dirmngr python-pip python-setuptools python-wheel patch + apt -y install dirmngr echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \ >> /etc/apt/sources.list.d/iiab-ansible.list #echo "deb http://ppa.launchpad.net/ansible/ansible-2.4/ubuntu xenial main" \ diff --git a/scripts/ansible-2.5.x b/scripts/ansible-2.5.x index 1067f7ee0..7f5c2f429 100755 --- a/scripts/ansible-2.5.x +++ b/scripts/ansible-2.5.x @@ -40,7 +40,8 @@ if [ ! `command -v ansible-playbook` ]; then # "command -v" is POSIX compliant elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then if ( ! grep -qi ansible /etc/apt/sources.list) && [ ! -f /etc/apt/sources.list.d/ansible ]; then apt update - apt -y install dirmngr python-pip python-setuptools python-wheel patch + #apt -y install dirmngr python-pip python-setuptools python-wheel patch + apt -y install dirmngr #echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \ # >> /etc/apt/sources.list.d/iiab-ansible.list echo "deb http://ppa.launchpad.net/ansible/ansible-2.5/ubuntu xenial main" \