Skip to content
Snippets Groups Projects
Commit 7a384b9c authored by Mark Goddard's avatar Mark Goddard Committed by Pierre Riteau
Browse files

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
parent e569036a
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,7 @@
file:
path: "{{ temp_path }}"
state: absent
run_once: true
- name: Refresh the inventory
meta: refresh_inventory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment