ansible/library
Bryan Larsen bdbc963736 digital_ocean: don't run update_attr if wait=no
Sometimes when using digital_ocean with wait=no I get the error "No ip is found".  But with wait=no I wouldn't expect there to be any IP, that gets allocated later.   However, looking at the code, it turns out that with even with wait=no it waits up to 10 seconds for an IP to be allocated.  We could wait longer, but with wait=no that seems like the wrong choice; it's easy enough to grab an IP later with a wait=yes command.

To make this change I removed the call to update_attr in @classmethod add.  An add is always followed by an ensure_powered_on which will do the update_attr if wait=yes.   It would be possible to instead do a call to update_attr with no retries and ignore the errors but I figured it would be better to be consistently not return an IP than to sometimes return it and sometimes not.   Inconsistent behaviour makes debugging deployment scripts very difficult.
2013-07-11 13:30:42 -04:00
..
cloud digital_ocean: don't run update_attr if wait=no 2013-07-11 13:30:42 -04:00
commands Docs: consistently format playbook EXAMPLES 2013-06-17 08:53:46 +02:00
database Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is inlined, misc other style improvements. 2013-07-05 13:22:44 -04:00
files Merge pull request #3406 from podollb/devel 2013-07-11 05:29:11 -07:00
internal * Updated all ansible.cc references in the documentation to point 2013-06-19 19:34:02 -06:00
inventory Remove a trailing quote 2013-06-26 15:09:00 -07:00
messaging Doc: rabbitmq_user pw change and force 2013-06-23 11:05:09 -04:00
monitoring Remove unnecesary call 2013-07-06 22:12:30 +02:00
net_infrastructure Fixup documentation YAML 2013-06-30 19:00:43 -04:00
network moved modules to net_infrastructure 2013-06-29 19:59:14 -04:00
notification added a provision for passing a server password to IRC 2013-06-26 14:16:59 +00:00
packaging Use the force=yes option for apt upgrade actions 2013-07-09 10:57:19 +02:00
source_control Merge pull request #3432 from jlund/hg-spelling 2013-07-11 05:26:57 -07:00
system Merge pull request #3496 from johanwiren/bsd-ipv6-facts 2013-07-11 05:55:53 -07:00
utilities Update fail docs for new syntax 2013-07-08 14:22:05 -07:00
web_infrastructure Styling: trailing spaces 2013-06-30 18:52:57 -04:00