Commit graph

10 commits

Author SHA1 Message Date
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.
2016-01-13 11:15:24 -05:00
Lars Kellogg-Stedman
377811dac2 make os_keypair return a top level 'id' key
make os_keypair return a top-level 'id' key, much like other os_*
resources.
2015-10-22 13:59:45 -04:00
Toshio Kuratomi
02b6df3160 Fix indentation levels in os_keypair 2015-07-01 05:00:39 -07:00
Toshio Kuratomi
edad5c80ff Few minor things from review of the pull request 2015-06-30 13:18:56 -07:00
David Shrewsbury
7970924bd5 Use newest documentation style for return value. 2015-06-29 15:55:15 -04:00
David Shrewsbury
e6fc129013 Add a note about the return value. 2015-06-29 14:49:13 -04:00
David Shrewsbury
bed420cd53 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.
2015-06-25 12:19:20 -04:00
Monty Taylor
02d0a73906 Move the order of argument processing 2015-06-18 08:01:27 -04:00
Davide Guerri
82dc5c4394 Avoind using lookup() in documentation
lookup() is currently broken (current Ansible devel branch), so better to avoid
it in our examples.
2015-06-18 08:01:27 -04:00
Monty Taylor
a226701efe Add OpenStack Keypair module
Also deprecate old nova_keypair module.
2015-06-18 08:01:24 -04:00