Michael DeHaan
ad8c275887
Revert "While the previous work on the foon class can't be quite recycled, it's still a nice abstraction."
...
This reverts commit caab52aee2
.
2014-02-07 20:38:18 -05:00
Michael DeHaan
caab52aee2
While the previous work on the foon class can't be quite recycled, it's still a nice abstraction.
2014-02-07 19:32:19 -05:00
Michael DeHaan
73ca1a173c
Revert "Revert "This patch makes Ansible reuse fork allocation between seperate instantations of the runner API, therefore the overhead of recreating forks""
...
This reverts commit 6685b4989e
.
2014-02-07 18:14:27 -05:00
Michael DeHaan
60d3611b70
Revert "Revert "Add the fork manager code (related to previous patch).""
...
This reverts commit c53538dc77
.
2014-02-07 18:14:13 -05:00
Michael DeHaan
6685b4989e
Revert "This patch makes Ansible reuse fork allocation between seperate instantations of the runner API, therefore the overhead of recreating forks"
...
This reverts commit 85d66b9a0c
.
2014-02-07 18:10:38 -05:00
Michael DeHaan
c53538dc77
Revert "Add the fork manager code (related to previous patch)."
...
This reverts commit adb1719fe8
.
2014-02-07 18:10:29 -05:00
Jesse Keating
4593e3c357
Make sure requested version tag gets downloaded
...
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.
This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.
The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
2014-02-07 14:13:04 -08:00
Michael DeHaan
adb1719fe8
Add the fork manager code (related to previous patch).
2014-02-07 16:53:35 -05:00
Michael DeHaan
85d66b9a0c
This patch makes Ansible reuse fork allocation between seperate instantations of the runner API, therefore the overhead of recreating forks
...
between tasks in a playbook is avoided. The fork pool will be regenerated when a second play comes along and needs more hosts.
2014-02-07 16:53:35 -05:00
Richard Isaacson
66967bde14
Merge pull request #5905 from artursvonda/update-postgresql-docs
...
Added port documentation to postgresql_db and postgresql_user.
2014-02-07 14:31:09 -06:00
Richard Isaacson
2d88246c9d
Merge pull request #5885 from risaacson/issue5739_4
...
Addresses #5739 and cleans up copy.py
2014-02-07 13:49:06 -06:00
jctanner
4636a0d152
Merge pull request #5906 from sivel/test-module-json
...
Support for -a to accept a file with test-module
2014-02-07 14:18:48 -05:00
Matt Martz
dbed05caec
Support for -a to accept a file with test-module
...
If the CLI value for -a starts with an @, treat it like a file, and dump the contents into complex_args
This supports yaml or json.
2014-02-07 13:09:47 -06:00
James Tanner
a62af82757
Make ec2 exact_count and count mutually exclusive
2014-02-07 13:42:43 -05:00
James Tanner
b3ab7e7885
Check mutually_exclusive parameters before applying defaults
2014-02-07 13:42:08 -05:00
James Tanner
70ebb05190
Return a tagged_instances list for hosts that matched the count_tag
2014-02-07 13:07:34 -05:00
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.
2014-02-07 11:36:51 -06:00
Arturs Vonda
6d85082586
Added port documentation to postgresql_db and postgresql_user
2014-02-07 18:27:55 +02:00
James Tanner
084b623833
Update changelog for ec2 exact_count and count_tag
2014-02-07 11:06:19 -05:00
jctanner
6e7f684958
Merge pull request #5901 from jctanner/ec2_tag_exact_count_2
...
Add exact_count and count_tag to the ec2 module.
2014-02-07 10:57:01 -05:00
James Tanner
f101768a9d
Make an example that sets the instance Names
2014-02-07 10:49:13 -05:00
James Tanner
005ef837d9
Update docstrings
2014-02-07 10:34:45 -05:00
Richard Isaacson
6ce16e6d0e
Merge pull request #5900 from Afterburn/devel
...
Confirmed that these are small changes to the docs that help with the clarity.
2014-02-07 09:28:33 -06:00
Will Thames
d5c309e20d
Pick up default EC2 region from boto.config
...
This doesn't account for boto configs where e.g. RDS has one
default region and EC2 another - all will default to `ec2_region_name`.
However, this is just handy to allow an easy site wide default
region if existing configuration already relies on it.
Modules can be improved to mention this in the documentation and
turn off required=True where needed. But it works with `ec2`
and `ec2_vol` without change.
2014-02-07 22:30:16 +10:00
James Tanner
fd919062cb
Add exact_count and count_tag to the ec2 module.
2014-02-06 23:25:57 -05:00
Afterburn
398c71c1b7
small change to docs
2014-02-06 20:35:42 -07:00
Afterburn
2fe00ac8c9
small change to docs
2014-02-06 20:34:38 -07:00
jctanner
0bc0315171
Merge pull request #5880 from willthames/ec2_modules_refactor
...
Create a common EC2 connection argument spec for EC2 modules
2014-02-06 11:08:09 -05:00
xyrix
20d97416e5
fixed thinkoes
2014-02-06 13:02:11 +00:00
xyrix
0af40374ed
fixed file perms checking
2014-02-06 12:48:34 +00:00
xyrix
1de45bf687
made accelerate keys directory configurable, and permissions for the file and dir configurable, and gave them a safe default
2014-02-06 08:53:43 +00:00
James Cammarata
a72dc2ec34
Use finalize method in jinja2 to convert None values to empty strings
...
Fixes #4812
2014-02-06 00:43:31 -06:00
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)
2014-02-06 15:27:41 +10:00
James Cammarata
3260e695f4
Make tmp paths in TestRunner dynamic based on pid
...
Fixes #4723
2014-02-05 23:12:31 -06:00
James Tanner
f52deaff7b
Updating changelog and docs for the new play_hosts variable
2014-02-06 00:01:39 -05:00
jctanner
28933de84d
Merge pull request #5771 from bcoca/play_hosts2
...
added new play_hosts var
2014-02-05 23:52:20 -05:00
willthames
27fc3b8006
Module to create EC2 snapshots
...
Two methods of creating a snapshot
* use volume_id
* use device_name and instance_id
The latter is more useful with inventory
2014-02-06 09:44:43 +10:00
James Tanner
119543f0af
Update changelog to reflect #5363
2014-02-05 18:44:24 -05:00
jctanner
a1d2b5f257
Merge pull request #5363 from bcoca/acl_improved
...
acl module: acl now supports 'default'
2014-02-05 18:40:59 -05:00
Brian Coca
54a79bfc75
fixed docstring and changed type to etype avoiding python builtin
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2014-02-05 18:36:29 -05:00
jctanner
dbeddd3e14
Merge pull request #5302 from Barthalion/devel
...
Make PKGBUILD packaging standards compliant.
2014-02-05 17:43:30 -05:00
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
2014-02-05 23:40:02 +01:00
Richard Isaacson
66f47c2096
Merge pull request #5891 from offby1/devel
...
Clarify doc for get_url
2014-02-05 15:49:31 -06:00
James Tanner
7268fe43e7
Use new syntax for module snippets in rabbitmq_policy and update changelog
2014-02-05 16:21:18 -05:00
James Cammarata
959a156195
Properly count newlines appearing at the end of templates after rendering
...
Fixes #4633
2014-02-05 15:14:19 -06:00
jctanner
cda3f06117
Merge pull request #4957 from retr0h/rabbitmq_policy
...
Added module to handle rabbit policies [1]
2014-02-05 16:07:38 -05:00
jctanner
7fcf6cebfe
Merge pull request #5881 from willthames/ec2_keys
...
Minor tweaks to simplify examples and documentation
2014-02-05 15:50:19 -05:00
jctanner
c13161993a
Merge pull request #5410 from willthames/rds_snapshot
...
rds module: add snapshot capabilities
2014-02-05 15:23:08 -05:00
James Cammarata
ca0ec800d8
Revising method for parsing ranges from --limit subsets
...
Also added a new test (test_subset_range) for future validation.
Fixes #4620
2014-02-05 13:58:03 -06:00
Eric Hanchrow
7e557663c2
Clarify doc for get_url
...
Move a sentence from doc for the "force" option to that for the "dest" option.
2014-02-05 10:58:48 -08:00