aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-04-26 13:02:43 -0400
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-04-26 13:26:22 -0400
commit1fea9e8e1f8e33607fe9bd1735b1b5cbf8100e27 (patch)
treee52ad75676c66702a76a775b65bb7c8a899c4e4c /installation/ansible-server
parent2f18d9c25806664e2910b39b792204b4d6f1b504 (diff)
Fix add-apt-repository
When run from command line, add-apt-repository waits for user prompt to continue. Redirecting stdin to /dev/null allows installation to proceed without prompt. Change-Id: Ia646e775a3fcfba6100ffea05c48d6d6bc2f498d Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: 52a359f2a7710eb2a4373b277485c2c7f34af69a
Diffstat (limited to 'installation/ansible-server')
-rw-r--r--installation/ansible-server/src/main/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/installation/ansible-server/src/main/docker/Dockerfile b/installation/ansible-server/src/main/docker/Dockerfile
index 373e12d2..dfbb060c 100644
--- a/installation/ansible-server/src/main/docker/Dockerfile
+++ b/installation/ansible-server/src/main/docker/Dockerfile
@@ -18,7 +18,7 @@ RUN apt-get -y install python-pip
##Ansible:
RUN apt-get -y install software-properties-common
-RUN apt-add-repository ppa:ansible/ansible
+RUN apt-add-repository -y ppa:ansible/ansible
RUN apt-get -y install ansible
# copy files needed