summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragardner <agardner@linuxfoundation.org>2018-02-08 14:29:16 -0500
committeragardner <agardner@linuxfoundation.org>2018-02-08 14:29:16 -0500
commit55434c63f6680073592065eab62d93270fdde7e7 (patch)
treeb4856ebf9d5f3759970303bbe960fc0b647b38ea
parent0215f34ba5867f3a5f0a77e6a9fec25a36853445 (diff)
missing sudo for ansible install
Change-Id: I6d7ab7746c75a8d33a27de3bf534b02cbc87e8ae Signed-off-by: agardner <agardner@linuxfoundation.org>
-rw-r--r--jjb/releng/opnfv-utils.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/releng/opnfv-utils.yml b/jjb/releng/opnfv-utils.yml
index 48590089d..43d8bb183 100644
--- a/jjb/releng/opnfv-utils.yml
+++ b/jjb/releng/opnfv-utils.yml
@@ -148,7 +148,7 @@
if [ -f /etc/debian_version ] \
|| grep -qi ubuntu /etc/lsb-release \
|| grep -qi ubuntu /etc/os-release; then
- apt-get install ansible
+ sudo apt-get install ansible
fi
- builder:
@@ -156,6 +156,6 @@
builders:
- shell: |
# run playbook
- ansible-playbook -C -D -i \
+ sudo ansible-playbook -C -D -i \
$WORKSPACE/utils/build-server-ansible/inventory.ini \
$WORKSPACE/utils/build-server-ansible/main.yml