summaryrefslogtreecommitdiffstats
path: root/ansible/nsb_setup.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/nsb_setup.yml')
-rw-r--r--ansible/nsb_setup.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/ansible/nsb_setup.yml b/ansible/nsb_setup.yml
index e79ccabea..fcb518899 100644
--- a/ansible/nsb_setup.yml
+++ b/ansible/nsb_setup.yml
@@ -44,13 +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
- network_mode: host
- 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