Add -y to for non-interactive ansible install 27/51927/1
authoragardner <agardner@linuxfoundation.org>
Thu, 8 Feb 2018 20:31:35 +0000 (15:31 -0500)
committeragardner <agardner@linuxfoundation.org>
Thu, 8 Feb 2018 20:31:35 +0000 (15:31 -0500)
Change-Id: I2ab00b3b6aadf9efc5bac72fcdcd9941f12f8bc9
Signed-off-by: agardner <agardner@linuxfoundation.org>
jjb/releng/opnfv-utils.yml

index 43d8bb1..e6fcd1b 100644 (file)
           if [ -f /etc/centos-release ] \
           || [ -f /etc/redhat-release ] \
           || [ -f /etc/system-release ]; then
-          sudo yum install ansible
+          sudo yum -y install ansible
           fi
           if [ -f /etc/debian_version ] \
           || grep -qi ubuntu /etc/lsb-release \
           || grep -qi ubuntu /etc/os-release; then
-          sudo apt-get install ansible
+          sudo apt-get -y install ansible
           fi
 
 - builder: