Commit Graph

22591 Commits (fcd2b354b22efb3099b021c4c25ad81f819da847)
 

Author SHA1 Message Date
Iiro Uusitalo d6fc0ac5be uri.py is not using module_utils/urls.py from ansible core 8 years ago
HAMSIK Adam 3d3be5e91f Fix missing , 8 years ago
whiter a5a9c92fcd Fixed dicts comparison for tags 8 years ago
Brian Coca e4dd0d98d4 now captures any exceptions when trying to create directories 8 years ago
whiter 54b02ee0da ec2_vpc_net refactor 8 years ago
HAMSIK Adam b7a13e263f Add version 8 years ago
HAMSIK Adam 05df069176 Add module parameter for security group name. This make ec2_elb_lb module consitent with others 8 years ago
Maksim Losev 482d8da2dc Use HostConfig object when creating container with Docker Remote API > 1.15
This is mlosev's patch (from #1208), rebased against devel as of
2790af2.  It resolves #1707, which was caused by an API incompatibility
between the docker module and server API version 1.19.
8 years ago
Lars Kellogg-Stedman e031efd82c Do not erroneously mask exceptions
There was a catch-all `except` statement in `create_containers`:

        try:
            containers = do_create(count, params)
        except:
            self.pull_image()
            containers = do_create(count, params)

This would mask a variety of errors that should be exposed, including
API compatability errors (as in #1707) and common Python exceptions (KeyError, ValueError, etc) that could result from errors in the code.

This change makes the `except` statement more specific, and only attempts to pull the image and start a container if the original create attempt failed due to a 404 error from the docker API.
8 years ago
Lars Kellogg-Stedman 6116e4cdab docker: permit empty or false pid
The `docker` Python module only accepts `None` or `'host'` as arguments.
This makes it difficult to conditionally set the `pid` attribute using
standard Ansible syntax.

This change converts any value that evaluates as boolean `False` to
`None`, which includes empty strings:

    pid:

As well as an explicit `false`:

    pid: false

This permits the following to work as intended:

    - hosts: localhost
      tasks:
      - name: starting container
        docker:
          docker_api_version: 1.18
          image: larsks/mini-httpd
          name: web
          pid: "{{ container_pid|default('') }}"

If `container_pid` is set to `host` somewhere, this will create a
Docker container with `pid=host`; otherwise, this will create a
container with normal isolated pid namespace.
8 years ago
Brian Coca 9e54efd3fd fixed version added, reworded description a bit 8 years ago
Brian Coca 16a4ff3462 fixed minor doc issues 8 years ago
Brian Coca 0cab021168 Revert "Revert "ec2_lc - include all launch config properties in the return"" 8 years ago
Brian Coca af8ded66cc Revert "ec2_lc - include all launch config properties in the return" 8 years ago
Toshio Kuratomi a655241488 Minor touch ups of vsphere_guest code. 8 years ago
Brian Coca 60d160a2e9 Also document in example that unarchive download was added in 2.0 8 years ago
Mitchell Ludwig b664603a4d Improved stat documentation 8 years ago
Frank van Tol 39e24e89f4 Remove default port value, it does not work in _requires_destroy_and_create logic
When creating a Redis cluster, every run it gets destroyed and recreated because the port number of memcached is used as the default.
8 years ago
Frank van Tol 6655cd89c4 Update elasticache.py 8 years ago
Frank van Tol 426f93a291 Remove default for engine_version
Redis and memcached have different engine version numbering, there can not be a shared default value.
8 years ago
Nicholas O'Connor b95cb3f4e9 Created option snapshot_to_clone. When specified, snapshot_to_clone will create a linked clone copy of the VM. 8 years ago
Apoorva Kulkarni 1f35e578b4 s3 module: Add missing version tag to "encrypt" parameter 8 years ago
Chris Church 31a01305ba Set force=yes as the default, add force parameter to module docs. 8 years ago
James Cammarata 5efeeb156b Correctly default crypt_scheme in htpasswd 8 years ago
Chris Faulkner 18b157fbac Report change status on django_manage collectstatic. 8 years ago
Evan Carter d3ef622627 Adding default cooldown to AWS ASG 8 years ago
vanga ddd399fe7a Throw error if encryption is set while passing a snapshot id 8 years ago
Chris Meyers 0dbf41e740 ensure password or ssh cert specified 8 years ago
Tom Paine e97124d609 Update vsphere_guest.py 8 years ago
acaveroc dda41fd95a Add version_added and type of parameter 8 years ago
acaveroc 2c6f69c95e Assorted minor bug fixes
- Modified data type for port definition from string to integer
- Modified login_host default value for compatibilize with port definition according with MySQL Documentation (https://dev.mysql.com/doc/refman/5.0/en/connecting.html)
8 years ago
acaveroc 1283fdd118 Add port definition support for mysql_vars module 8 years ago
Joel Thompson f1ab33ad7b Adding ability to filter AWS Route 53 private hosted zones by attached VPC 8 years ago
Hennadiy (Gena) Verkh 098126807d Update uri.py
Added methods 'TRACE', 'CONNECT' from https://www.rfc-editor.org/rfc/rfc2616.txt, section 5.1.1
Added method 'REFRESH'
8 years ago
Tal Auslander 8766641871 use ConvertTo-Bool for the force parameter 8 years ago
Tal Auslander 64f19fc4c6 stop reading from url on error 8 years ago
Tal Auslander 9c6d829991 add force parameter to win_get_url 8 years ago
Tal Auslander 26a54897a2 win_get_url re-download file only if modified 8 years ago
Hennadiy (Gena) Verkh 852c232b2d Removed method restriction in uri module 8 years ago
Ian Babrou 9219aeaaeb Pulling missing docker image before doing anything 8 years ago
Nic O'Connor c68d1ffa60 Added the ability to Linked_clone from snapshot 8 years ago
Simon Olofsson a3cb6d2f16 Add option docker_user for docker module.
docker_user can be used to specify the user or UID to use within the
container.
8 years ago
Iiro Uusitalo b92dabb9fb Refactor force basic auth, now all modules which use fetch_url() can use force_basic_auth 8 years ago
Toshio Kuratomi 05be82183f Add notes about loop squashing and 1.9.2 change to install packages in one yum transaction 8 years ago
Monty Taylor 8e26a7ae17 Fix a small typo in parameter processing 8 years ago
Brian Coca f8f4a7dcdf added ignore hidden to assemble 8 years ago
Jesse Keating 16381fb5c0 Plumb ipv6 modes into os_subnet
Shade already supports these, we just need to plumb them into the module
code.
8 years ago
Jesse Keating 72809ac329 Fix up docs 8 years ago
Sean Chittenden 4c8b573e2c Fix group mod and group add for FreeBSD 8 years ago
Juho-Mikko Pellinen 29620b78fa Change the default flag value to None to prevent AWS complaining: "Instance creation failed => InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified." 8 years ago