aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-09-20 20:44:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-20 20:44:06 +0000
commit2761306b3d9fa31b192a44129de5bb5d39279d73 (patch)
tree9c415941061cc2123f59abe99e10a11ed4a6720d
parentd886bf33fc0880abe2b3d1203cf2eba486f23b43 (diff)
parent6a60a350f9c6d02b3616de30e9bd4c61baf63317 (diff)
Merge "Tweaked nsb_setup to always re-download latest container and re-create the container."
-rw-r--r--ansible/nsb_setup.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible/nsb_setup.yml b/ansible/nsb_setup.yml
index 78cf87ec7..fcb518899 100644
--- a/ansible/nsb_setup.yml
+++ b/ansible/nsb_setup.yml
@@ -44,12 +44,14 @@
- name: Start yardstick container
docker_container:
name: yardstick
+ pull: yes
+ recreate: yes
image: opnfv/yardstick:latest
recreate: yes
state: started
restart_policy: always
- privileged: True
- interactive: True
+ privileged: yes
+ interactive: yes
volumes:
- "{{ openrc_file|default('/dev/null') }}:/etc/yardstick/openstack.creds:ro"
- /var/run/docker.sock:/var/run/docker.sock