Add ansible ubuntu repo directly
apt-add-repository exits true if key import fails More info, see LP#1613639 Change-Id: I52a1adc74a73890edd4ab0641d15789a92be4c2a
This commit is contained in:
parent
18f7686862
commit
7b0a20f02c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user