CI: fix race condition in kolla-ansible-host-vars role tests
A temporary file is removed by multiple test hosts, which all have connection=local. This leads to a race between multiple executions of the file module on localhost. Add run_once. Change-Id: I976122f72bdca7f91cbfcd81fca431b81a6b6aef
This commit is contained in:
parent
e569036a05
commit
7a384b9ce4
@ -140,6 +140,7 @@
|
||||
file:
|
||||
path: "{{ temp_path }}"
|
||||
state: absent
|
||||
run_once: true
|
||||
|
||||
- name: Refresh the inventory
|
||||
meta: refresh_inventory
|
||||
|
Loading…
Reference in New Issue
Block a user