tedder
bffd137edd
code review fixes per #957
2015-03-30 15:51:54 -07:00
tedder
472331a53b
skip password changes so pg_authid isn't needed
...
Some places ([AWS RDS](https://forums.aws.amazon.com/thread.jspa?threadID=151248 )) don't have, or don't allow, access to the `pg_authid` table. The only reason that is necessary is to check for a password change.
This flag is a workaround so passwords can only be set at creation time. It isn't as elegant as changing the password down the line, but it fixes the longstanding issue #297 that prevented this from being useful on AWS RDS.
2015-03-30 13:35:54 -07:00
Brian Coca
3738339b90
Merge pull request #366 from Rob-Johnson/cloudformation-url
...
cloudformation: allow template_url parameter
2015-03-30 10:28:36 -04:00
Rob Johnson
ea1ffc6d19
allow both template and template_url parameters
2015-03-30 15:27:03 +01:00
Brian Coca
d27df0cdb4
Merge pull request #334 from adamchainz/cloudformation_dont_always_need_template
...
Make cloudformation module's template argument not required in case of stack deletion
2015-03-30 08:56:56 -04:00
Brian Coca
1865ddbbdf
Merge pull request #339 from lorin/instance_id
...
ec2 module: add instance_id alias
2015-03-30 08:49:07 -04:00
Brian Coca
e94956d39d
Merge pull request #1029 from 47lining/sts_support_s3_fix_v3
...
clean rebase of https://github.com/ansible/ansible-modules-core/pull/102 ...
2015-03-30 08:48:20 -04:00
Brian Coca
66a996184e
Merge pull request #1011 from zecrazytux/bugreport_265
...
Add body_format for handling of JSON and YAML body
2015-03-30 07:35:17 -04:00
Sébastien Bocahu
b2d570e991
Removes YAML body_format option
...
It would require adding a dependency to the YAML module while it might
not provide much benefit (has anybody seen a HTTP API taking YAML as
input ?)
2015-03-30 10:23:46 +02:00
Mick Bass
7de97864be
clean rebase of https://github.com/ansible/ansible-modules-core/pull/1024 on a new branch
2015-03-29 21:56:44 -06:00
Brian Coca
8c80900fef
removed requirements/boto as it broke documentation as it is duplicated in shared aws fragements
2015-03-29 17:08:08 -04:00
Brian Coca
e8f56bb627
Merge pull request #1027 from apollo13/patch-1
...
Added os.path.expanduser when searching for pip executable.
2015-03-29 16:14:00 -04:00
Florian Apolloner
afd0b3fcaa
Added os.path.expanduser to app_path in django_manage
2015-03-29 21:34:29 +02:00
Florian Apolloner
7f4f89abda
Added os.path.expanduser when searching for pip executable.
2015-03-29 21:06:36 +02:00
Brian Coca
adfcfa4b58
Merge pull request #318 from preo/ec2-group-empty-rules
...
Allow empty EC2 Security Group rules.
2015-03-29 10:26:33 -04:00
Brian Coca
feb5144c71
Merge pull request #1021 from defionscode/s3_conn
...
allow boto profile use with s3
2015-03-29 10:08:54 -04:00
Brian Coca
44a9c7ad31
Merge pull request #266 from yosida95/fakes3s
...
support secure connection on fakes3
2015-03-29 10:03:04 -04:00
Adam Chainz
8a4e7e5d9f
Make cloudformation module's template argument not required in case of stack deletion
2015-03-29 09:31:13 +01:00
Kohei YOSHIDA
8ab812c242
support secure connection on fakes3
2015-03-28 23:31:53 +09:00
Jonathan Davila
611165a77e
allow boto profile use with s3
2015-03-28 10:17:12 -04:00
Lorin Hochstein
ea4d5798c7
Use the correct alias syntax
2015-03-28 09:31:52 -04:00
Lorin Hochstein
e759b4d0eb
ec2 module: add instance_id alias
...
Create an alias named instance_id for the instance_ids parameter.
2015-03-28 09:31:52 -04:00
Brian Coca
1c5cef0ee9
Merge pull request #1019 from rtrauntvein/patch-1
...
Specify that "state: reloaded" was added in Ansible 1.9
2015-03-27 20:18:25 -04:00
Ryan Trauntvein
5320cc93e6
Specify that "state: reloaded" was added in Ansible 1.9
2015-03-27 16:36:10 -07:00
Brian Coca
bbf2ec2501
Merge pull request #1018 from smiller171/devel
...
describe choices in alias documentation
2015-03-27 17:37:46 -04:00
Scott Miller
13d420ebee
describe choices in alias documentation
2015-03-27 16:20:20 -04:00
David Wittman
6d8437617c
Set disabled repos before enabled repos
...
The ordering of disabling/enabling yum repositories matters, and
the yum module was mixing and matching the order. Specifically,
when yum-utils isn't installed, the codepath which uses the yum
python module was incorrectly ordering enabling and disabling.
The preferred order is to disable repositories and then enable them
to prevent clobbering. This was previously discussed in
ansible/ansible#5255 and incompletely addressed in 0cca4a3
.
2015-03-27 11:07:51 -05:00
Brian Coca
f3e4704d92
Merge pull request #569 from 47lining/rate-throttling-retries-update
...
add retry with exponential backoff when we receive throttling error code...
2015-03-27 08:21:09 -04:00
Brian Coca
aeb264f581
Merge pull request #566 from 47lining/cloud_modules_sts_support_redux
...
Cloud Modules STS Support Redux
2015-03-27 08:20:53 -04:00
Sébastien Bocahu
6b20c3890f
Add body_format for handling of JSON and YAML body
...
body_format is a new optional argument that enables handling of JSON or
YAML serialization format for the body argument.
When set to either 'json' or 'yaml', the body argument can be a dict or list.
The body will be encoded, and the Content-Type HTTP header will be set,
accordingly to the body_format argument.
Example:
- name: Facette - Create memory graph
uri:
method: POST
url: http://facette/api/v1/library/graphs
status_code: 201
body_format: json
body:
name: "{{ ansible_fqdn }} - Memory usage"
attributes:
Source": "{{ ansible_fqdn }}"
link: "1947a490-8ac6-4bf2-47c1-ff74272f8b32"
2015-03-27 11:11:25 +01:00
Mick Bass
a01a0ed364
resolve merge conflicts
2015-03-26 22:54:08 -06:00
Mick Bass
64a2077787
Add support for AWS Security Token Service (temporary credentials) to all AWS cloud modules.
2015-03-26 22:44:56 -06:00
Richard Tier
04c1927300
allow setting header
2015-03-26 23:02:35 +00:00
Brian Coca
eacf4e4239
Merge pull request #269 from SDFE/rds_subnet_group_params
...
use aws connect call in rds_subnet_group that allows boto profile use
2015-03-26 15:53:33 -04:00
Toshio Kuratomi
7e7eafb3e3
Make lack of boto call fail_json instead of sys.exit
...
Fixes #994
2015-03-26 12:12:39 -07:00
Brian Coca
5d776936cc
Merge pull request #256 from SDFE/route53_connect_params
...
Use aws connect calls that allow boto profile use
2015-03-26 14:34:24 -04:00
Brian Coca
68daec05f2
Merge pull request #254 from SDFE/ec2_vpc_connect_params
...
use simpler ec2_connect ec2 util call
2015-03-26 14:17:27 -04:00
Brian Coca
a49c4e3919
Merge pull request #144 from quodlibetor/add-elasticache-cache_subnet_group_name
...
Add `cache_subnet_group_name` to elasticache module
2015-03-26 14:16:26 -04:00
Brandon W Maister
efa4d04284
Make cache_subnet_group default to empty security groups
...
Since they can't be specified together, it seems like setting the
default to no security groups is the right option.
2015-03-26 13:56:46 -04:00
Brandon W Maister
3cb2346312
Add cache_subnet_group
to elasticache module
...
According to the [docs] cache subnet groups are required inside a VPC.
[docs]: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheSubnetGroups.html
2015-03-26 13:56:46 -04:00
Brian Coca
0771dd12ca
Merge pull request #1004 from bcoca/s3_fixes
...
S3 fixes
2015-03-26 12:39:36 -04:00
Brian Coca
e5ed49d6c7
added patch to workaround some s3 connection faliures
2015-03-26 11:23:32 -04:00
Tor Åke Fransson
360409cee8
Merge remote-tracking branch 'origin/devel' into digitalocean-user-data
...
Conflicts:
cloud/digital_ocean/digital_ocean.py
2015-03-26 14:05:57 +01:00
Tor Åke Fransson
3f17ec489b
Remove all reference to obsolete client_id and rename api_key to the for v2 more correct api_token
2015-03-26 13:56:39 +01:00
Tor Åke Fransson
41875984e5
Make digital_ocean ssh command use API v2
2015-03-26 09:57:35 +01:00
Brian Coca
f6c9d555a0
Merge pull request #976 from jsmartin/asg_doc_fix
...
Re-wording of feature.
2015-03-25 22:12:35 -04:00
Brian Coca
6570d48657
refactrored connection exception handling, added check to see if we actually get a connection before proceeding
...
Fixes #964
2015-03-25 21:40:13 -04:00
David Wittman
8d53ef2f60
[service] Fix bug with upstart detection
...
Upstart scripts are being incorrectly identified as SysV init scripts
due to a logic error in the `service` module.
Because upstart uses multiple commands (`/sbin/start`, `/sbin/stop`,
etc.) for managing service state, the codepath for upstart sets
`self.svc_cmd` to an empty string on line 451.
Empty strings are considered a non-truthy value in Python, so
conditionals which are checking the state of `self.svc_cmd` should
explicitly compare it to `None` to avoid overlooking the fact that
the service may be controlled by an upstart script.
2015-03-25 17:37:18 -05:00
Brian Coca
79844506db
Merge pull request #341 from axilleas/digitalocean_docs
...
digital_ocean: Add note about using API v1
2015-03-25 15:16:03 -04:00
Tor Åke Fransson
69911ec86e
WIP: DigitalOcean API version 2 with user_data option
2015-03-25 16:43:11 +01:00