METRON-1446: Fix openjdk issue with Ubuntu (mmiklavc via mmiklavc) closes 
apache/metron#926


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/38b7d5e3
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/38b7d5e3
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/38b7d5e3

Branch: refs/heads/feature/METRON-1344-test-infrastructure
Commit: 38b7d5e339320e71cd4d35d31b8d118a3e6d0be7
Parents: fcff059
Author: mmiklavc <michael.miklav...@gmail.com>
Authored: Tue Feb 6 09:57:15 2018 -0700
Committer: Michael Miklavcic <michael.miklav...@gmail.com>
Committed: Tue Feb 6 09:57:15 2018 -0700

----------------------------------------------------------------------
 .../ansible/roles/java_jdk/tasks/install_jdk_ubuntu.yml            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/38b7d5e3/metron-deployment/ansible/roles/java_jdk/tasks/install_jdk_ubuntu.yml
----------------------------------------------------------------------
diff --git 
a/metron-deployment/ansible/roles/java_jdk/tasks/install_jdk_ubuntu.yml 
b/metron-deployment/ansible/roles/java_jdk/tasks/install_jdk_ubuntu.yml
index 8337b81..4eb0945 100644
--- a/metron-deployment/ansible/roles/java_jdk/tasks/install_jdk_ubuntu.yml
+++ b/metron-deployment/ansible/roles/java_jdk/tasks/install_jdk_ubuntu.yml
@@ -20,7 +20,7 @@
   register: jdk_dir
 
 - name: Install openjdk repository
-  shell: add-apt-repository ppa:openjdk-r/ppa
+  shell: add-apt-repository ppa:openjdk-r/ppa -y
   when: not jdk_dir.stat.exists
 
 - name: Update package cache

Reply via email to