Skip to content

Conversation

@stacywsmith
Copy link
Contributor

Ansible 2.3 attempts to import modules to see if USE_PERSISTENT_CONNECTION is set. The modules are incorrectly executed upon import because they lack a if __name__ == '__main__': conditional.

This is an alternate way to address ansible/ansible#22590. I suggest that ansible/ansible#22590 should still be merged to avoid the problem for users which are running a version of these modules which don't yet have this fix.

compatible with Ansible 2.3 which tries to import them to see if
`USE_PERSISTENT_CONNECTION` is set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants