diff options
Diffstat (limited to 'build/test/playbook-test.yml')
-rw-r--r-- | build/test/playbook-test.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/test/playbook-test.yml b/build/test/playbook-test.yml index 82df8ce..a2b416a 100644 --- a/build/test/playbook-test.yml +++ b/build/test/playbook-test.yml @@ -24,13 +24,15 @@ - "/api/read/switches-management" tasks: + - command: pwd + register: pwd - name: make all docker_image: state: build name: "{{ item.name }}" docker_api_version: 1.18 dockerfile: build/test/{{ item.name }}.Dockerfile - path: "src/tgnms/" + path: "{{ pwd.stdout }}" with_items: "{{ images }}" - name: stop all @@ -50,15 +52,15 @@ state: started net: bridge links: "{{ item.links }}" + volumes: [ "{{ pwd.stdout }}/:/opt/nms" ] with_items: "{{ images }}" - - name: workaround to get nms-varnish-front-ip shell: "docker inspect nms-varnish-test | grep IPAddress | sed 's/[^0-9.]//g'" register: ip - name: Display IP debug: - msg: "Front is available at http://{{ ip.stdout }}/" + msg: "Front test is available at http://{{ ip.stdout }}/" - name: test index uri: url="http://{{ ip.stdout }}/" |