report writing has race condition
Closed this issue · 1 comments
JAORMX commented
The reports are written using the blockinfile module. This is persisted in localhost (the host that calls the playbook), and is called using the delegate_to option from Ansible. The problem here is that there is a race condition when using forks in ansible. This will reflect in some of the blocks not being persisted... then, on a subsequent run they appear.
We need a way to serialize JUST the writing of reports.
JAORMX commented
Seems this is only an issue in Ansible 2.6 and has been fixed in Ansible 2.7.