Tweaked nsb_setup to always re-download latest container 51/42951/2
authorMaciej Skrocki <maciej.skrocki@intel.com>
Wed, 20 Sep 2017 16:40:00 +0000 (09:40 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 25 Sep 2017 15:30:20 +0000 (08:30 -0700)
and re-create the container.

Change-Id: I21204ddf97e2cccc2d5a762f5d910068bda1a948
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
ansible/nsb_setup.yml

index 78cf87e..fcb5188 100644 (file)
     - 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