mirror of https://github.com/ansible/ansible.git
Wrap calls to main() with if check
A change was merged to the main Ansible core code that can cause
a potential hang if any libraries are called that use threading.
This change was:
4b0aa1214c
This affected the os_object module by causing a hang on the shade
create_object() API call (which in turn calls swiftclient which
uses threading). The fix is to make sure all modules have a main()
that is wrapped with an "if __name__ == '__main__'" check.
pull/18777/head
parent
ef8b59f430
commit
dcbbd72cfd
Loading…
Reference in New Issue