diff options
Diffstat (limited to 'installation')
-rw-r--r-- | installation/ansible-server/src/main/docker/Dockerfile | 5 | ||||
-rw-r--r-- | installation/ansible-server/src/main/scripts/startAnsibleServer.sh | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/installation/ansible-server/src/main/docker/Dockerfile b/installation/ansible-server/src/main/docker/Dockerfile index dfbb060c..87ae9e79 100644 --- a/installation/ansible-server/src/main/docker/Dockerfile +++ b/installation/ansible-server/src/main/docker/Dockerfile @@ -16,10 +16,7 @@ RUN apt-get -y install vim RUN apt-get -y install python2.7 RUN apt-get -y install python-pip -##Ansible: -RUN apt-get -y install software-properties-common -RUN apt-add-repository -y ppa:ansible/ansible -RUN apt-get -y install ansible + # copy files needed COPY opt /opt/ diff --git a/installation/ansible-server/src/main/scripts/startAnsibleServer.sh b/installation/ansible-server/src/main/scripts/startAnsibleServer.sh index 67af9623..643bbab2 100644 --- a/installation/ansible-server/src/main/scripts/startAnsibleServer.sh +++ b/installation/ansible-server/src/main/scripts/startAnsibleServer.sh @@ -5,6 +5,10 @@ then pip install PyMySQL pip install cherrypy pip install requests + + apt-get -y install software-properties-common + apt-add-repository -y ppa:ansible/ansible + apt-get -y install ansible date > /tmp/.ansible-server-installed 2>&1 fi |