Permalink
Commits on Apr 3, 2015
  1. Reduce noise in cloudformation template diff

    zts committed Apr 3, 2015
    We were not making any effort to diff arrays, instead showing the full
    current/target copies.  This made some changes every noise - eg,
    adding an ingress rule to a security group.
    
    With this commit, we only show the elements that were added or
    removed.
  2. Fake stack outputs in cloudformation create check-mode

    zts committed Apr 3, 2015
    When run in check mode for a stack that would be created, we
    previously omitted the outputs hash - the stack doesn't exist yet, so
    we can't get its outputs.  This causes a problem when the
    cloudformation task registers a variable which is then used by later
    tasks in the playbook.
    
    This commit looks at the outputs defined in the cloudformation
    template and builds a corresponding outputs hash.  The value of each
    output is a placeholder containing the stack and output names.  When
    these outputs are used as parameters to other tasks, the placeholders
    stand out in the check-mode output.
Commits on Mar 31, 2015
  1. Add 'described' state to cloudformation module

    zts committed Mar 31, 2015
    This simply loads the state of the stack so that its outputs can be
    registered.  If the stack doesn't exist, the module exits with an
    error.
    
    I've found this useful, though a lookup plugin[1] is perhaps a better
    approach.
    
    1: http://www.unixdaemon.net/tools/ansible/ansible-cloudformation-lookups.html
  2. Support check mode in cloudformation module

    zts committed Mar 31, 2015
    When check mode is activated, we retrieve the current state of the
    stack and compare it to the target state of the stack.  Required
    changes to the template and parameters will be shown in the response.
    
    CloudFormation itself does not provide a "dry run" mode, so the best
    we can do is compare the current set of inputs to the previous set.
    This is good enough for my purposes, but don't expect perfection.
    
    Sample output:
    
    TASK: [create example-test cfn stack] **************************************
    changed: [example] => {"changed": true, "output": "Stack would be updated, changes: [{'Template': {u'Resources': {u'DummyWaitHandle2': 'Added', u'DummyWaitHandle': 'Removed'}}}, {u'SnapshotID': {'to': u'test-20150329', 'from': u'test-20150330'}}]", "stack_outputs": {"DBInstanceId": "rdz5lp9i8ovmog", "FrontendELB": "example-Frontend-1VIHBAZL8WUA1", "FrontendHostname": "example-Frontend-1VIHBAZL8WUA1-1582281064.eu-west-1.elb.amazonaws.com", "SecurityGroup": "example-test-SecurityGroup-16PP0KV5SCAS9", "SecurityGroup2": "example-test-SecurityGroup2-I2ENEANIVZPF"}}
Commits on Mar 30, 2015
  1. Merge pull request ansible#366 from Rob-Johnson/cloudformation-url

    bcoca committed Mar 30, 2015
    cloudformation: allow template_url parameter
  2. Merge pull request ansible#334 from adamchainz/cloudformation_dont_al…

    bcoca committed Mar 30, 2015
    …ways_need_template
    
    Make cloudformation module's template argument not required in case of stack deletion
  3. Merge pull request ansible#339 from lorin/instance_id

    bcoca committed Mar 30, 2015
    ec2 module: add instance_id alias
  4. Merge pull request ansible#1011 from zecrazytux/bugreport_265

    bcoca committed Mar 30, 2015
    Add body_format for handling of JSON and YAML body
  5. Removes YAML body_format option

    zecrazytux committed Mar 30, 2015
    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 ?)
Commits on Mar 29, 2015
  1. removed requirements/boto as it broke documentation as it is duplicat…

    bcoca committed Mar 29, 2015
    …ed in shared aws fragements
  2. Merge pull request ansible#1027 from apollo13/patch-1

    bcoca committed Mar 29, 2015
    Added os.path.expanduser when searching for pip executable.
  3. Merge pull request ansible#318 from preo/ec2-group-empty-rules

    bcoca committed Mar 29, 2015
    Allow empty EC2 Security Group rules.
  4. Merge pull request ansible#1021 from defionscode/s3_conn

    bcoca committed Mar 29, 2015
    allow boto profile use with s3
  5. Merge pull request ansible#266 from yosida95/fakes3s

    bcoca committed Mar 29, 2015
    support secure connection on fakes3
  6. Make cloudformation module's template argument not required in case o…

    Adam Chainz
    Adam Chainz committed Mar 29, 2015
    …f stack deletion
Commits on Mar 28, 2015
  1. Use the correct alias syntax

    lorin committed Nov 16, 2014
  2. ec2 module: add instance_id alias

    lorin committed Nov 16, 2014
    Create an alias named instance_id for the instance_ids parameter.
  3. Merge pull request ansible#1019 from rtrauntvein/patch-1

    bcoca committed Mar 28, 2015
    Specify that "state: reloaded" was added in Ansible 1.9
Commits on Mar 27, 2015
  1. Specify that "state: reloaded" was added in Ansible 1.9

    Ryan Trauntvein
    Ryan Trauntvein committed Mar 27, 2015
  2. Merge pull request ansible#1018 from smiller171/devel

    bcoca committed Mar 27, 2015
    describe choices in alias documentation
  3. Merge pull request ansible#569 from 47lining/rate-throttling-retries-…

    bcoca committed Mar 27, 2015
    …update
    
    add retry with exponential backoff when we receive throttling error code...
  4. Merge pull request ansible#566 from 47lining/cloud_modules_sts_suppor…

    bcoca committed Mar 27, 2015
    …t_redux
    
    Cloud Modules STS Support Redux
  5. Add body_format for handling of JSON and YAML body

    zecrazytux committed Mar 27, 2015
    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"
  6. resolve merge conflicts

    semifocused committed Mar 27, 2015
  7. Add support for AWS Security Token Service (temporary credentials) to…

    semifocused committed Dec 25, 2014
    … all AWS cloud modules.
Commits on Mar 26, 2015
  1. Merge pull request ansible#269 from SDFE/rds_subnet_group_params

    bcoca committed Mar 26, 2015
    use aws connect call in rds_subnet_group that allows boto profile use