Commit Graph

5798 Commits (472331a53b168a6c7e59680529fc56fb77bdbec8)
 

Author SHA1 Message Date
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.
10 years ago
Brian Coca 3738339b90 Merge pull request #366 from Rob-Johnson/cloudformation-url
cloudformation: allow template_url parameter
10 years ago
Rob Johnson ea1ffc6d19 allow both template and template_url parameters 10 years ago
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
10 years ago
Brian Coca 1865ddbbdf Merge pull request #339 from lorin/instance_id
ec2 module: add instance_id alias
10 years ago
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...
10 years ago
Brian Coca 66a996184e Merge pull request #1011 from zecrazytux/bugreport_265
Add body_format for handling of JSON and YAML body
10 years ago
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 ?)
10 years ago
Mick Bass 7de97864be clean rebase of https://github.com/ansible/ansible-modules-core/pull/1024 on a new branch 10 years ago
Brian Coca 8c80900fef removed requirements/boto as it broke documentation as it is duplicated in shared aws fragements 10 years ago
Brian Coca e8f56bb627 Merge pull request #1027 from apollo13/patch-1
Added os.path.expanduser when searching for pip executable.
10 years ago
Florian Apolloner afd0b3fcaa Added os.path.expanduser to app_path in django_manage 10 years ago
Florian Apolloner 7f4f89abda Added os.path.expanduser when searching for pip executable. 10 years ago
Brian Coca adfcfa4b58 Merge pull request #318 from preo/ec2-group-empty-rules
Allow empty EC2 Security Group rules.
10 years ago
Brian Coca feb5144c71 Merge pull request #1021 from defionscode/s3_conn
allow boto profile use with s3
10 years ago
Brian Coca 44a9c7ad31 Merge pull request #266 from yosida95/fakes3s
support secure connection on fakes3
10 years ago
Adam Chainz 8a4e7e5d9f Make cloudformation module's template argument not required in case of stack deletion 10 years ago
Kohei YOSHIDA 8ab812c242 support secure connection on fakes3 10 years ago
Jonathan Davila 611165a77e allow boto profile use with s3 10 years ago
Lorin Hochstein ea4d5798c7 Use the correct alias syntax 10 years ago
Lorin Hochstein e759b4d0eb ec2 module: add instance_id alias
Create an alias named instance_id for the instance_ids parameter.
10 years ago
Brian Coca 1c5cef0ee9 Merge pull request #1019 from rtrauntvein/patch-1
Specify that "state: reloaded" was added in Ansible 1.9
10 years ago
Ryan Trauntvein 5320cc93e6 Specify that "state: reloaded" was added in Ansible 1.9 10 years ago
Brian Coca bbf2ec2501 Merge pull request #1018 from smiller171/devel
describe choices in alias documentation
10 years ago
Scott Miller 13d420ebee describe choices in alias documentation 10 years ago
Brian Coca f3e4704d92 Merge pull request #569 from 47lining/rate-throttling-retries-update
add retry with exponential backoff when we receive throttling error code...
10 years ago
Brian Coca aeb264f581 Merge pull request #566 from 47lining/cloud_modules_sts_support_redux
Cloud Modules STS Support Redux
10 years ago
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"
10 years ago
Mick Bass a01a0ed364 resolve merge conflicts 10 years ago
Mick Bass 64a2077787 Add support for AWS Security Token Service (temporary credentials) to all AWS cloud modules. 10 years ago
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
10 years ago
Toshio Kuratomi 7e7eafb3e3 Make lack of boto call fail_json instead of sys.exit
Fixes #994
10 years ago
Brian Coca 5d776936cc Merge pull request #256 from SDFE/route53_connect_params
Use aws connect calls that allow boto profile use
10 years ago
Brian Coca 68daec05f2 Merge pull request #254 from SDFE/ec2_vpc_connect_params
use simpler ec2_connect ec2 util call
10 years ago
Brian Coca a49c4e3919 Merge pull request #144 from quodlibetor/add-elasticache-cache_subnet_group_name
Add `cache_subnet_group_name` to elasticache module
10 years ago
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.
10 years ago
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
10 years ago
Brian Coca 0771dd12ca Merge pull request #1004 from bcoca/s3_fixes
S3 fixes
10 years ago
Brian Coca e5ed49d6c7 added patch to workaround some s3 connection faliures 10 years ago
Brian Coca f6c9d555a0 Merge pull request #976 from jsmartin/asg_doc_fix
Re-wording of feature.
10 years ago
Brian Coca 6570d48657 refactrored connection exception handling, added check to see if we actually get a connection before proceeding
Fixes #964
10 years ago
Brian Coca 79844506db Merge pull request #341 from axilleas/digitalocean_docs
digital_ocean: Add note about using API v1
10 years ago
Toshio Kuratomi 515cd6666d Fix stat code to return name of group owning the file rather than name of group that the file's owner belongs to.
Followup to #17
10 years ago
Toshio Kuratomi 9464277f4f Merge pull request #993 from smashwilson/docker-deployed-by-image
[docker] Compare container's configured image instead of running image
10 years ago
Ash Wilson 9ce2fc718a Only fetch details when necessary. 10 years ago
Ash Wilson 47f4c3f2e5 Compare container images to Config.Image. 10 years ago
Brian Coca 9763268903 Merge pull request #991 from sairez/devel
fix syntax in last EC2 ELB LB example
10 years ago
Sarah Zelechoski 43cd4ebd2e fix syntax in last example 10 years ago
Brian Coca d8ab661d0a Merge pull request #983 from ssssam/sam/authorized-keys-crash-fix
Fix authorized_key module crashing when given an invalid key
10 years ago
Sam Thursfield 60397fae0f Fix authorized_key module crashing when given an invalid key
I tried a playbook with the following (accidentally wrong) task:

  tasks:
      - name: authorized key test
        authorized_key: key=/home/sam/.ssh/id_rsa.pub key_options='command="/foo/bar"' user=sam

I got the following traceback:

    TASK: [authorized key test] ***************************************************
    failed: [localhost] => {"failed": true, "parsed": false}
    Traceback (most recent call last):
    File "/home/sam/.ansible/tmp/ansible-tmp-1427110003.65-277897441194582/authorized_key", line 2515, in <module>
        main()
    File "/home/sam/.ansible/tmp/ansible-tmp-1427110003.65-277897441194582/authorized_key", line 460, in main
        results = enforce_state(module, module.params)
    File "/home/sam/.ansible/tmp/ansible-tmp-1427110003.65-277897441194582/authorized_key", line 385, in enforce_state
        parsed_new_key = (parsed_new_key[0], parsed_new_key[1], parsed_options, parsed_new_key[3])
    TypeError: 'NoneType' object has no attribute '__getitem__'

With this fix, I see the expected error instead:

    TASK: [authorized key test] ***************************************************
    failed: [localhost] => {"failed": true}
    msg: invalid key specified: /home/sam/.ssh/id_rsa.pub
10 years ago