JAORMX/tripleo-tls-everywhere-helper

report writing has race condition

Closed this issue · 1 comments

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.

Seems this is only an issue in Ansible 2.6 and has been fixed in Ansible 2.7.