Commit Graph

8777 Commits (286ca505bd3bda4b1fb26255e1e4a3d754031e0f)
 

Author SHA1 Message Date
James Tanner 70ebb05190 Return a tagged_instances list for hosts that matched the count_tag 11 years ago
Richard Isaacson 5a15762739 Merge pull request #5826 from romeotheriault/fix_follow_redirects
A fix for uri module regarding following redirects. The old behavior would follow redirects either way. This change clarifies the functionality and makes it a bit more explicit. Comparing the old behavior to the new 'yes' == 'all', 'no' == 'safe' and now 'no' will not follow any redirects. Historic behavior is still supported and documented with a push to the new values.
11 years ago
Arturs Vonda 6d85082586 Added port documentation to postgresql_db and postgresql_user 11 years ago
James Tanner 084b623833 Update changelog for ec2 exact_count and count_tag 11 years ago
jctanner 6e7f684958 Merge pull request #5901 from jctanner/ec2_tag_exact_count_2
Add exact_count and count_tag to the ec2 module.
11 years ago
James Tanner f101768a9d Make an example that sets the instance Names 11 years ago
James Tanner 005ef837d9 Update docstrings 11 years ago
Richard Isaacson 6ce16e6d0e Merge pull request #5900 from Afterburn/devel
Confirmed that these are small changes to the docs that help with the clarity.
11 years ago
James Tanner fd919062cb Add exact_count and count_tag to the ec2 module. 11 years ago
Afterburn 398c71c1b7 small change to docs 11 years ago
Afterburn 2fe00ac8c9 small change to docs 11 years ago
jctanner 0bc0315171 Merge pull request #5880 from willthames/ec2_modules_refactor
Create a common EC2 connection argument spec for EC2 modules
11 years ago
xyrix 20d97416e5 fixed thinkoes 11 years ago
xyrix 0af40374ed fixed file perms checking 11 years ago
xyrix 1de45bf687 made accelerate keys directory configurable, and permissions for the file and dir configurable, and gave them a safe default 11 years ago
James Cammarata a72dc2ec34 Use finalize method in jinja2 to convert None values to empty strings
Fixes #4812
11 years ago
Will Thames 7600c664fe Create a common EC2 connection argument spec for EC2 modules
Refactor the currently well-factored ec2 modules (i.e. those that already use ec2_connect) to
have a common argument spec. The idea is that new modules can use this spec without duplication
of code, and that new functionality can be added to the ec2 connection code (e.g. security
token argument)
11 years ago
James Cammarata 3260e695f4 Make tmp paths in TestRunner dynamic based on pid
Fixes #4723
11 years ago
James Tanner f52deaff7b Updating changelog and docs for the new play_hosts variable 11 years ago
jctanner 28933de84d Merge pull request #5771 from bcoca/play_hosts2
added new play_hosts var
11 years ago
James Tanner 119543f0af Update changelog to reflect #5363 11 years ago
jctanner a1d2b5f257 Merge pull request #5363 from bcoca/acl_improved
acl module: acl now supports 'default'
11 years ago
Brian Coca 54a79bfc75 fixed docstring and changed type to etype avoiding python builtin
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
jctanner dbeddd3e14 Merge pull request #5302 from Barthalion/devel
Make PKGBUILD packaging standards compliant.
11 years ago
Bartłomiej Piotrowski 24ae4f014f Make PKGBUILD packaging standards compliant.
* replace pointless patch with PYTHON=python2
* simplify git describe command
* move pkgver() function lower, so build chroots can make use of it
* align packages in optdepends using spaces
* use double quotation marks only where it's needed
* unify usage of brackets sorrounding variables
* shorten pkgdesc (kudos to Fedora)
* update README
11 years ago
Richard Isaacson 66f47c2096 Merge pull request #5891 from offby1/devel
Clarify doc for get_url
11 years ago
James Tanner 7268fe43e7 Use new syntax for module snippets in rabbitmq_policy and update changelog 11 years ago
James Cammarata 959a156195 Properly count newlines appearing at the end of templates after rendering
Fixes #4633
11 years ago
jctanner cda3f06117 Merge pull request #4957 from retr0h/rabbitmq_policy
Added module to handle rabbit policies [1]
11 years ago
jctanner 7fcf6cebfe Merge pull request #5881 from willthames/ec2_keys
Minor tweaks to simplify examples and documentation
11 years ago
jctanner c13161993a Merge pull request #5410 from willthames/rds_snapshot
rds module: add snapshot capabilities
11 years ago
Eric Hanchrow 7e557663c2 Clarify doc for get_url
Move a sentence from doc for the "force" option to that for the "dest" option.
11 years ago
Laurens Van Houtven 62f3c10302 Tell user to make inventory plugin executable
The current version mentions nothing about chmod +x'ing the rax.py file, which means you get a really weird error message when you try to follow it:

```
raise ValueError, "No closing quotation"
```

... from deep inside shlex.py. I'm sure that makes sense if you realized that meant that it was trying to parse `rax.py` as an ini file...
11 years ago
James Cammarata 77d5a18392 When force=yes, get_url should always download the specified file
This is accomplished by not setting the If-Modified-Since header,
and setting "cache-control: no-cache" instead. Note that if the
file content has not changed, the module will still report that
changed=false, as the md5's of the tmp file and existing file are
compared before swapping

Fixes #5104
11 years ago
Richard C Isaacson ac0a5c8ad5 Dug into the remaining FIXME and replaced with comments to document the expected behavior. 11 years ago
jctanner f50f29f304 Merge pull request #5051 from deontologician/patch-1
Added -FF flag to rsync invocation in synchronize
11 years ago
jctanner 825a20780f Merge pull request #5127 from ovcharenko/patches
synchronize module: Added existing_only options to skip creating new files on receiver
11 years ago
jctanner 0a0e9817be Merge pull request #5879 from lberruti/ssh_slow_fix
Fix slow ssh
11 years ago
jctanner 1f9de0c076 Merge pull request #5187 from 42wim/devel
Add support for --copy-links in synchronize
11 years ago
Amir H. Hajizamani 843f4e7d7c Neaten up example YAML with 2-space indenting 11 years ago
Amir H. Hajizamani 7c38e8a225 Example should put instance_ids list in quotes for avoid YAML error 11 years ago
jctanner 716b5f0c4e Merge pull request #5882 from amirhhz/patch-1
Fix missing quote mark in route53 doc example
11 years ago
Amir H. Hajizamani b0bc2bd86a Fix missing quote mark in route53 doc example 11 years ago
willthames e0c245f1ae Minor tweaks to simplify examples and documentation
Made a few things more consistent with the bulk of the other EC2
modules and removed an unnecessary check that is handled by
AnsibleModule
11 years ago
Luca Berruti 75b7a1d9c7 Fix slow ssh
We break the read while loop after waiting "the end of the process" and
the pipes are empty, otherwise we do another select that waits all the
timeout.
11 years ago
jctanner a0f91f2aaa Merge pull request #5576 from xyrix/symlink-bug-fix
fixed bug causing symlinks to fail in the host_vars, group_vars etc dire...
11 years ago
jctanner 253fe7be50 Merge pull request #5662 from RSpiertz/update_playbook_error
PlayBook: better error message
11 years ago
jctanner a877b8b030 Merge pull request #5624 from mattsoftware/route53_ttl
Enable changes to ttl of a record to be propogated to route53
11 years ago
jctanner 5967b463c9 Merge pull request #5554 from ttarabul/devel
Use /etc/rc.conf.local for sevice configuration on FreeBSD
11 years ago
Richard C Isaacson a3261500dd Addresses #5739 and cleans up copy.py
The copy action_plugin is not easy to read. Part of this commit is taking that file, restructuring it, and adding comments. No functionality changed in how it interacts with the world.

The fix for #5739 ends up being the assumption that there is a cleanup 'rm -rf' that happens at the end of the copy loop. This was not the fact before and we made a bunch of tmp directories that we hoped would end up being cleaned up. Now we just use the tmp directory that the runner provides and cleanup inline if it is a single file to be coppied or after the loop if it is a recursive copy.

As a part of this we did end up having to change runner to provide a flag so that we could short the inline tmp directory removal. This flag defaults to True so it will not change the behavior of other modules that are being called.
11 years ago