Commit Graph

1998 Commits (69ff43d253ea0a0fa91c3f8e907dbb10a926e6d3)
 

Author SHA1 Message Date
Bryan Larsen 69ff43d253 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.
12 years ago
Michael DeHaan a413ddb447 Merge pull request #3501 from cristobalrosa/devel
Devel
12 years ago
Michael DeHaan aa17420fc2 Merge pull request #3453 from jsmartin/cleanup
Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is in...
12 years ago
Michael DeHaan 6dcca9a0f9 Merge pull request #3488 from weltenwort/devel
Use the force=yes option for apt upgrade actions
12 years ago
Michael DeHaan 7dfafc6ec4 Merge pull request #3496 from johanwiren/bsd-ipv6-facts
Fix for populating default_ipv6 on BSD systems
12 years ago
Michael DeHaan 38ac6c9abd Merge pull request #3497 from johanwiren/bsd-gateway
Updated setup module to collect gateway fact for BSD systems
12 years ago
Michael DeHaan 03605484f8 Merge pull request #3388 from bcoca/fixed_user_create_doc
updated module docs to reflect 'correct' on_create vs on_creation
12 years ago
Michael DeHaan 701f55119f Merge pull request #3406 from podollb/devel
fixing small mis-spelling
12 years ago
Michael DeHaan 2a1a68a672 Merge pull request #3432 from jlund/hg-spelling
Fix some minor spelling mistakes in the hg module documentation
12 years ago
Michael DeHaan e0e97c16f3 Merge pull request #3480 from j2sol/fail_doc
Update fail docs for new syntax
12 years ago
Johan Wirén 3e765f7775 Updated GenericBsdIfconfigNetwork to collect gateway 12 years ago
Johan Wirén a03125e0cf Fix for populating default_ipv6 on BSD systems 12 years ago
Joshua Lund d75f73fffe Added a new with_file example to the authorized_key documentation 12 years ago
Felix Stuermer ed7b073550 Use the force=yes option for apt upgrade actions 12 years ago
Jesse Keating 64fb4f4c93 Update fail docs for new syntax
Use when instead of only_if
Use new variable style
12 years ago
Brian Coca e0e50b5936 fixed check mode
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Cristobal Rosa 8304d5d060 Remove unnecesary call 12 years ago
James Martin 79a00eca47 Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is inlined, misc other style improvements. 12 years ago
Michael DeHaan 090b64f828 Revert "ini_file: add support for lists of options/values"
Breaks "," values in INI files

This reverts commit af051d6f77.
12 years ago
Cristobal Rosa d2c7f30048 Fixed monit module. Ignore uppercase letters 12 years ago
Seth Vidal 537166b1ea - optimize for the extremely common case of people specifying pkg names which are, ultimately, already installed
on a system here time went from  16s for a series of pkgs to 3s to just
  check that they were installed.
12 years ago
Matt Spaulding 3e631c1129 Fix git submodule update when version specified 12 years ago
Joshua Lund bcfdc4c534 Fix some minor spelling mistakes in the hg module documentation 12 years ago
Aaron Brady 34617476d0 Make the CPU facts Hyperthreading aware 12 years ago
Antti Rasinen c2a4645349 Fix service enable on FreeBSD
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.

Fixes issue #3382.
12 years ago
Ben Podoll 5157fd3ec7 fixing small mis-spelling 12 years ago
Jan-Piet Mens e788a5d930 broken docs in files/file module!
remove obsolete examples: key
12 years ago
Brian Coca b494d6d2ae updated module docs to reflect 'correct' on_create vs on_creation
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan ce833be30f Merge pull request #3292 from sfromm/git-submodule
Add submodule support to git module
12 years ago
Michael DeHaan 24bacabd6a Merge pull request #3293 from jarv/devel
Adds termination support to the ec2 module
12 years ago
Michael DeHaan 51a7086c95 Merge branch 'files_force' of git://github.com/rhaido/ansible into devel 12 years ago
Michael DeHaan 8d23df3576 Merge pull request #3315 from madduck/fix-service-updatercd-changed
Let update-rc.d set changed flag properly
12 years ago
Michael DeHaan 691873ddc1 Fixup documentation YAML 12 years ago
Michael DeHaan da0e718698 Styling: semicolon 12 years ago
Michael DeHaan ca2c28413a Styling: deprecation 12 years ago
Michael DeHaan 9f6a9def19 Styling: deprecation 12 years ago
Michael DeHaan 7dd8c2dda4 Styling: misc pep8 12 years ago
Michael DeHaan 7c4688c3ef Styling: indentation 12 years ago
Michael DeHaan 7705937621 Styling: semicolon 12 years ago
Michael DeHaan 1919d02e7d Styling: trailing spaces 12 years ago
Michael DeHaan 936ad65726 Styling: blank lines 12 years ago
Michael DeHaan 405fdf9206 Styling: deprecation 12 years ago
Michael DeHaan e0877fa085 pep8: deprecation 12 years ago
Michael DeHaan 90c1701f1c Styling: indentation 12 years ago
Michael DeHaan 2f5ad8c5d6 Styling: spacing 12 years ago
Michael DeHaan 76edfc3d56 Styling: misc pep8 12 years ago
Michael DeHaan 6958cf41ef Semicolons must die 12 years ago
Michael DeHaan 87b0deba85 Merge pull request #3374 from jsmartin/bugfix
cloudformation: Fixed bug in module_fail. Consistent error handling.
12 years ago
Michael DeHaan df1dfdf509 Merge pull request #3298 from devo-ps/linode
Add Linode cloud support.
12 years ago
Michael DeHaan 551b7e4f9a Merge pull request #3358 from aristanetworks/devel
initial arista module import
12 years ago