Skip to content

Conversation

@joekhoobyar
Copy link

Fix bug with missing tempfile content by using tasks/constraints.yml instead of tasks/constraint.yml

Without this fix, the following error is observed in ansible 2.9.x:

fatal: [myhost]: FAILED! => {"changed": false, "msg": "The target XML source '/tmp/ansible.xwl9wmkg.xml' does not exist."} 

This output is observed even if prior include_role calls had created the temp file already. Apparently ansible cleans up tempfiles faster than it used to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant