Commit Graph

11 Commits (1c9a58a885f322d0e4b9c03697f344b2fe9f05d0)

Author SHA1 Message Date
Toshio Kuratomi 7319104552 Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
David Shrewsbury aed44e8886 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.
2016-12-08 11:24:00 -05:00
Lars Kellogg-Stedman ff090a1224 make os_keypair return a top level 'id' key
make os_keypair return a top-level 'id' key, much like other os_*
resources.
2016-12-08 11:23:43 -05:00
Toshio Kuratomi cf595b3c52 Fix indentation levels in os_keypair 2016-12-08 11:23:16 -05:00
Toshio Kuratomi 4c863187ad Few minor things from review of the pull request 2016-12-08 11:23:16 -05:00
David Shrewsbury 3cd81d2dd3 Use newest documentation style for return value. 2016-12-08 11:23:16 -05:00
David Shrewsbury c4bc6dea13 Add a note about the return value. 2016-12-08 11:23:15 -05:00
David Shrewsbury 341efbf7ae Update os_keypair for latest shade
Uses the latest version of shade for cleaner code. Also, always
return the key dict whether we create the key, or it already exists.
The example using public_key_file is corrected to use a full path
since ~ is not converted for us.
2016-12-08 11:23:15 -05:00
Monty Taylor 869da89b35 Move the order of argument processing 2016-12-08 11:23:14 -05:00
Davide Guerri c1d7678cc2 Avoind using lookup() in documentation
lookup() is currently broken (current Ansible devel branch), so better to avoid
it in our examples.
2016-12-08 11:23:14 -05:00
Monty Taylor 0c0359798b Add OpenStack Keypair module
Also deprecate old nova_keypair module.
2016-12-08 11:23:13 -05:00