Merge "Add ansible ubuntu repo directly"

This commit is contained in:
Jenkins 2016-08-17 13:37:58 +00:00 committed by Gerrit Code Review
commit fdc59988ff
1 changed files with 2 additions and 1 deletions

View File

@ -160,7 +160,8 @@ if ! admin_node_command type ansible > /dev/null || \
ubuntu)
with_retries admin_node_command -- sudo apt-get update
with_retries admin_node_command -- sudo apt-get install -y software-properties-common
with_retries admin_node_command -- sudo apt-add-repository -y ppa:ansible/ansible
with_retries admin_node_command -- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 7BB9C367
with_retries admin_node_command -- "sh -c \"sudo apt-add-repository -y 'deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main'\""
with_retries admin_node_command -- sudo apt-get update
;;
debian)