Commit 1f895cbb authored by Spiros Koulouzis's avatar Spiros Koulouzis

added Wait for automatic system updates in playbook

parent 88674506
...@@ -11,9 +11,11 @@ ...@@ -11,9 +11,11 @@
#regexp: 'nameserver.*' #regexp: 'nameserver.*'
#line: nameserver 8.8.8.8 #line: nameserver 8.8.8.8
- name: Kill running processes - name: Wait for automatic system updates
shell: "killall apt apt-get" shell: while sudo fuser /var/lib/dpkg/{{ item }} >/dev/null 2>&1; do sleep 1; done;
ignore_errors: yes with_items:
- lock
- lock-frontend
- name: Update and upgrade apt packages - name: Update and upgrade apt packages
become: true become: true
......
...@@ -81,15 +81,15 @@ services: ...@@ -81,15 +81,15 @@ services:
#logspout: logspout:
#ports: ports:
#- "30002:80" - "30002:80"
#volumes: volumes:
#- /etc/hostname:/etc/host_hostname:ro - /etc/hostname:/etc/host_hostname:ro
#- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
#environment: environment:
#publish: "127.0.0.1:30002:80" publish: "127.0.0.1:30002:80"
#image: gliderlabs/logspout:latest image: gliderlabs/logspout:latest
mongo: mongo:
...@@ -97,10 +97,10 @@ services: ...@@ -97,10 +97,10 @@ services:
ports: ports:
- "27017:27017" - "27017:27017"
jupyter: #jupyter:
ports: #ports:
- "30003:8888" #- "30003:8888"
image: jupyter/base-notebook #image: jupyter/base-notebook
manager: manager:
...@@ -138,13 +138,13 @@ services: ...@@ -138,13 +138,13 @@ services:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0 SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
deployer: #deployer:
depends_on: #depends_on:
- rabbit #- rabbit
- sure-tosca #- sure-tosca
image: alogo53/deployer:3.0.0 #image: alogo53/deployer:3.0.0
environment: #environment:
RABBITMQ_HOST: rabbit #RABBITMQ_HOST: rabbit
#volumes: #volumes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment