ansible-runner-service icon indicating copy to clipboard operation
ansible-runner-service copied to clipboard

Issue arises when the inventory directory doesn't exist.

Open fenom opened this issue 4 years ago • 0 comments

Race condition hit creating Inventory file: [Errno 2] No such file or directory: '/usr/share/ansible-runner-service/inventory/hosts'

AttributeError: 'NoneType' object has no attribute 'close'

https://github.com/ansible/ansible-runner-service/blob/0f9eb4ca208ba0766e6ace286b6fa932b260c967/runner_service/inventory.py#L131:L148

fenom avatar Sep 07 '20 16:09 fenom