Commit Graph

8 Commits (c0d373f258b798c97cf7f97ab65a1a728201dbfb)

Author SHA1 Message Date
David Shrewsbury 6970cc233f 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.
9 years ago
David Shrewsbury e8abea25c7 Fix OpenStack module failure output
The exception message, when shade fails, will contain much more
specific information about the failure if the exception is treated
as a string. The 'message' attribute alone is usually not helpful.
9 years ago
Brian Coca 907b7f7cf4 fix bad linebreak 9 years ago
Michael Scherer 90f8228fb1 Fix #2629, replace choices=BOOLEANS by type='bool' 9 years ago
Brian Coca 898e338318 minor doc fixes 10 years ago
Monty Taylor 62073565e1 Update version added 10 years ago
Julia Kreger c040ae5374 Updating os_ironic module
Updating os_ironic module to the most recent version accounting for
changes in Ansible devel branch and the shade library since the
original creation of the module.
10 years ago
Monty Taylor 4e6f879feb Add Ironic module 10 years ago