summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Barbot <julien@barbot.org>2018-11-07 16:31:35 +0100
committerJulien Barbot <julien@barbot.org>2018-11-07 16:35:13 +0100
commitcf7011d93cfb612f9a1aadc59f23b7ef93598d96 (patch)
tree07848e944c4c05d157e2286c26454fae35c2baac
parent424327075cba872296535ffbfe69f32c228b218a (diff)
Update packages inside the container
This prevents from package desynchronization, leading to half packages not installed. Change-Id: I11ef8a8f18e5b041b8c0c3c66b0792dad8361e28 Issue-ID: SDNC-443 Signed-off-by: Julien Barbot <julien@barbot.org>
-rw-r--r--ansible-server/src/main/scripts/startAnsibleServer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible-server/src/main/scripts/startAnsibleServer.sh b/ansible-server/src/main/scripts/startAnsibleServer.sh
index dd6f2a36..1d76b1a3 100644
--- a/ansible-server/src/main/scripts/startAnsibleServer.sh
+++ b/ansible-server/src/main/scripts/startAnsibleServer.sh
@@ -7,6 +7,7 @@ then
pip install 'cherrypy<18.0.0'
pip install requests
+ apt-get update -y
apt-get -y install software-properties-common
apt-add-repository -y ppa:ansible/ansible
apt-get -y install ansible