Commit Graph

2236 Commits (1f786066205c98defb4814ad60c673b97f0cc63d)
 

Author SHA1 Message Date
Dag Wieers f38d7bc7f0 Fix inconsistent json output
The file module would in some cases return dest=/path/to/file, and in other cases return path=/path/to/file, this change makes it more consistent and in line with all the other file-related modules (i.e. copy, assemble, template, ...) by using dest= instead of path= as the input and output argument. (Of course, path is still there as an alias for compatibility).
11 years ago
Evan Wies 5fcf10a3ca apt_repository: enhance documentation 11 years ago
Evan Wies e48fb1e9a9 supervisor_ctl: rename to server_url and improve documentation 11 years ago
Michael DeHaan 1ba8322277 Merge pull request #3508 from ipauldev/devel
Allow check mode when gathering ec2 facts
11 years ago
Michael DeHaan b22428d87e Merge pull request #3426 from trbs/services_sleep_option
sleep option for service module which adds a pauze between stopping and ...
11 years ago
Michael DeHaan 22f6e6c4cd Merge pull request #3425 from jpmens/stat1
files/stat: add pw_name and md5 sum to stat, and add meaningful? example
11 years ago
Michael DeHaan 2596f892f0 Merge pull request #3510 from echohead/quantum-typo
Correct typo in error message.
12 years ago
Frank Shearar c0de378e15 'prefix' avoids potentially making people confuse 'path' with $PATH. 12 years ago
Tim Miller 63c105beb1 Correct typo of 'quantun' in error message. 12 years ago
ipauldev 9dd620c687 Allow check mode when gathering ec2 facts 12 years ago
Bryan Larsen f440b5b46a update_attr should wait for the full wait timeout before checking for a missing IP addres 12 years ago
Bryan Larsen 3fe9756281 digital_ocean doc update 12 years ago
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
Patrik Lundin 5f53229de2 openbsd_pkg: some whitespace cleanup. 12 years ago
Patrik Lundin 023711bb2c openbsd_pkg: sync package_latest().
This diff syncs package_latest() with the changes to package_present().
I have not managed to figure out how to handle the cornercases where
stderr is set but the command has not failed, so leave a FIXME blob for
other adventurers.
12 years ago
Patrik Lundin 8646df0a1f openbsd_pkg: Handle another pkg_add gotcha
* Add '-m' to pkg_add incovation to get access to the "packagename-1.0: ok"
  message.
* Watch for that message if we are about to fail because of stderr in
  package_present().
12 years ago
Darragh O'Reilly e3fabe8050 Keystone_user module: fix authentication needs tenant_name too
The keystone client needs to be passed tenant_name when authenticating the
user/password way. Also it needs auth_url instead of endpoint.
This fix adds login_tenant_name as a module parameter which is consistent
with the other OpenStack modules.
12 years ago
Patrik Lundin 72d73bcc70 openbsd_pkg: handle pkg_add quirks better.
This fixes a problem when trying to install a package with a specific version
number from a local directory and the local directory is checked after a remote
repository:

Error from http://ftp.eu.openbsd.org/pub/OpenBSD/[...]/packagename-1.0.tgz
ftp: Error retrieving file: 404 Not Found
packagename-1.0: ok
12 years ago
Frank Shearar 7f27a6181b Minor typo 12 years ago
Frank Shearar 9cc75f1f54 Let someone specify a path to a Rabbit that's not installed in the usual place. 12 years ago
Felix Stuermer ed7b073550 Use the force=yes option for apt upgrade actions 12 years ago
Patrick Callahan f37becb94a Bug fixes and enhancements.
Bugs:
(1) no longer allow empty jobs
(2) strip the header added by crontab package used in openSuSE and SuSE
(3) try not to leak temp files when things go wrong
(4) issue returning job names under certain conditions

Enhancements:
(1) Allow all special times not just reboot.
(2) Fail earlier by performing more input validation
(3) Add feature to allow removing cron file under /etc/cron.d

ToDo:
(1) Validate times (minute, hour, ...)
(2) Strip white space from fields such as name and job such that name=foo equals name=' foo'.
(3) More testing
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
Evan Duffield c9cd296a09 added note about AMI security 12 years ago
Evan Duffield 56471c52a1 Merge branch 'devel' of https://github.com/evan82/ansible into devel 12 years ago
Evan Duffield dcc850dccf added region to spec 12 years ago
Casper Langemeijer 8727f0ce11 Only append non_unique parameter if a uid is provided as well 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
Evan Wies 80afcea54e supervisorctl: add command-line options as module parameters
Adds more parameters which may be passed to supervisorctl:  config,
serverurl, username, password

Also refactored the various `module.run_command(build_a_string)` calls
into a single `run_supervisorctl` function.
12 years ago
lwade 99ac050a43 Rewritten s3 module to allow for additional modes of operation. 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
Jan-Piet Mens 494d784e91 files/stat: add pw_name and md5 sum to stat, and add meaningful? example
remove unnecessary import,
  md5 sum on regular files only
12 years ago