summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorMaciej Skrocki <maciej.skrocki@intel.com>2017-09-20 09:40:00 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-09-25 08:30:20 -0700
commit75fc21ac81a79fef477ffc1ae6b3c539ddbba0f6 (patch)
tree036b89bebd05803479ef02fd3e869456afb2c343 /ansible
parentff4cc45743fd378ad401b5366ce3988a6e65a3fd (diff)
Tweaked nsb_setup to always re-download latest container
and re-create the container. Change-Id: I21204ddf97e2cccc2d5a762f5d910068bda1a948 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Diffstat (limited to 'ansible')
-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