chouseknecht
964b7ecffa
Fix container labels expected vs actual comparison.
2016-12-08 11:24:54 -05:00
Patrick Marques
697a328124
ssh_public_keys on Azure virtual machine is a list ( #4350 )
...
The ssh_public_keys must be a list otherwise will give the error:
"argument ssh_public_keys is of type <type 'dict'> and we were unable to convert to list"
2016-12-08 11:24:53 -05:00
Richard Adams
b0135fadea
Add parameter to ec2
module to control instance shutdown behavior (stop|terminate)
2016-12-08 11:24:52 -05:00
Karthik Suresh
4d7d3cdbb1
Removing duplicate name: parameter possible typo ( #4525 )
...
Removed name:parameter in documentation. Possible typo.
2016-12-08 11:24:52 -05:00
chouseknecht
1b4a3dbc86
Fix doc strings. Use of > was breaking HTML generation on docs site module page.
2016-12-08 11:24:52 -05:00
nishiokay
fc79615e38
Add ipv6 paramater to digital_ocean module ( #4447 )
2016-12-08 11:24:51 -05:00
Linus Arver
8da17b750d
docker_service: fix files/project_files typo
...
The original decision to rename from `project_files' to `files' was in
3a5dd0007634c9d4e379f20cac77c8fd64b67f42.
2016-12-08 11:24:51 -05:00
chouseknecht
fb99277066
Exposing tcp and udp for same port fails. Fixes issue #4354 .
2016-12-08 11:24:51 -05:00
PikachuEXE
fc87dd9650
Allow specifying human readable value for option memory_limit
again ( #4049 )
2016-12-08 11:24:50 -05:00
chouseknecht
76260d3aa8
Fix network alias and network link comparison. - Using set based comparison was not working consistently - With != operator worked locally but consistently failed on Travis - With 'not in' operator failed locally and on Travis
2016-12-08 11:24:50 -05:00
chouseknecht
433b5e187f
If debug true, include actions and differences in output.
2016-12-08 11:24:50 -05:00
Chris Houseknecht
a8111adcd6
Some post merge clean up: ( #4406 )
...
- Removed required_if.
- Fixed doc strings.
- Removed debug output being appended to actions.
- Put import of basics at bottom to be consistent with other docker modules
- Added 'containers' alias to 'connected' param
- Put facts in ansible_facts.ansible_docker_network
2016-12-08 11:24:50 -05:00
Brian Coca
94486c5c77
doc fix
2016-12-08 11:24:50 -05:00
Chris Houseknecht
af3884f558
Adding docker_network module. ( #4404 )
2016-12-08 11:24:50 -05:00
muxator
16db1d54d1
typo in the documentation of the "state" parameter ( #4353 )
2016-12-08 11:24:48 -05:00
Chris Houseknecht
2514ec5056
Add buildargs parameter to support Dockerfile ARG directive. ( #4349 )
...
* Add buildargs parameter to support Dockerfile ARG directive.
* Fix doc_strings. Doc string for load_path was completely missing.
2016-12-08 11:24:48 -05:00
chouseknecht
f6b126d412
Default repository tag value to tag parameter value or 'latest'.
2016-12-08 11:24:48 -05:00
chouseknecht
3dab1785ba
Always returns changed when state present and name includes :tag.
2016-12-08 11:24:48 -05:00
Chris Houseknecht
1cf9d3e68e
Add *build* to state parameter choices. Updated deprecation message. Will be deprecated in release 2.3. Removed ( #4342 )
...
mention of *tagged* state in the force parameter doc strings. There is no *tagged* state.
2016-12-08 11:24:48 -05:00
chouseknecht
2ea29fee3f
Fix image tag operation. Allows repository in form of repo:tag. If no tag value, defaults to 'latest'.
2016-12-08 11:24:48 -05:00
chouseknecht
0c4da5d3a0
Added implementation of ignore_image, which prevents recreation of containers on image change.
2016-12-08 11:24:47 -05:00
chouseknecht
5992c21c9c
Fix #3670 host IP defaults to 0.0.0.0 ignoriing bridge Host IP option.
2016-12-08 11:24:47 -05:00
chouseknecht
a6bfeea1c4
Improved documentation for returned actions.
2016-12-08 11:24:47 -05:00
chouseknecht
cd7b34547d
When build true call docker-compose build, and add nocache option.
2016-12-08 11:24:47 -05:00
chouseknecht
df09b4f668
Set version_added
2016-12-08 11:24:47 -05:00
chouseknecht
1670d9b030
Add pull option to pull images prior to evaluating service state.
2016-12-08 11:24:47 -05:00
Shawn Siefkas
e9bf046c26
Check mode fixes for ec2_vpc_net module ( #2179 )
...
* Check mode fixes for ec2_vpc_net module
Returns VPC object information
Detects state change for VPC, DHCP options, and tags in check mode
* Early exit on VPC creation in check mode
2016-12-08 11:24:47 -05:00
Shawn Siefkas
0b95051039
Fix #2526 ( #2527 )
...
Fail on unhandled exception in ec2_asg rather than raise
2016-12-08 11:24:47 -05:00
Shawn Siefkas
66f1f6d537
Check mode fix for ec2_group module ( #2184 )
...
The default VPC egress rules was being left in the egress rules for
purging in check mode. This ensures that the module returns the correct
change state during check mode.
2016-12-08 11:24:47 -05:00
Rick Mendes
be33879152
Fixes #4227 : just changing messaging
2016-12-08 11:24:46 -05:00
Rick Mendes
eae75cf727
Fix #3549 , failure to reference module
in ec2_eip
module
2016-12-08 11:24:46 -05:00
Lyle Mantooth
f57ece661f
Remove file extension from policy names ( #3805 )
...
Fixes #3804 .
Prevents `__file__` from contributing ".", which is an illegal character in ELB policy names.
2016-12-08 11:24:46 -05:00
Julien Vey
7ba3ba2da9
Fix Typo in docker_image_facts module
2016-12-08 11:24:46 -05:00
Monty Taylor
f441e2c1a9
Rename a confusing variable
...
I had to read the two lines in question twice. That might just make me
dumb, but if I'm dumb, someone else might be too.
2016-12-08 11:24:46 -05:00
Rick Mendes
4fad93561a
please remove me as maintainer
2016-12-08 11:24:46 -05:00
Rick Mendes
d6cc007380
Fixes #4227
2016-12-08 11:24:46 -05:00
Jasmine Hegman
f5c3f4dd6b
Update docs to indicate ec2_asg state defaults to present ( #4046 )
...
* Update docs to indicate ec2_asg state defaults to present
Hopefully fixes Issue #4016
* Forgot to flip required to false
2016-12-08 11:24:46 -05:00
Shaun Brady
7b8d625546
Make ec2_elb_lb respect VPCs when resolving groups
...
AWS security groups are unique by name only by VPC (Restated, the VPC
and group name form a unique key).
When attaching security groups to an ELB, the ec2_elb_lb module would
erroneously find security groups of the same name in other VPCs thus
causing an error stating as such.
To eliminate the error, we check that we are attaching subnets (implying
that we are in a VPC), grab the vpc_id of the 0th subnet, and filtering
the list of security groups on this VPC. In other cases, no such filter
is applied (filters=None).
2016-12-08 11:24:46 -05:00
Shaun Brady
3b32b60338
Remove trailing white space
2016-12-08 11:24:46 -05:00
Shaun Brady
04199140c5
Make group_name resolution VPC aware
...
EC2 Security Group names are unique given a VPC. When a group_name
value is specified in a rule, if the group_name does not exist in the
provided vpc_id it should create the group as per the documentation.
The groups dictionary uses group_names as keys, so it is possible to
find a group in another VPC with the name that is desired. This causes
an error as the security group being acted on, and the security group
referenced in the rule are in two different VPCs.
To prevent this issue, we check to see if vpc_id is defined and if so
check that VPCs match, else we treat the group as new.
2016-12-08 11:24:46 -05:00
John Baublitz
fe09641476
Doc update
2016-12-08 11:24:45 -05:00
John Baublitz
c8dc0bf5c9
Fix exception handling to be compatible with Python 3
2016-12-08 11:24:45 -05:00
John Baublitz
4b11312737
Additional error handling for corner cases like deleting networks with active subnetworks
2016-12-08 11:24:45 -05:00
John Baublitz
e4697c3780
Documentation
2016-12-08 11:24:45 -05:00
John Baublitz
96599a5963
Logic to allow subnet creation
2016-12-08 11:24:45 -05:00
John Baublitz
5591e6bb0b
Add error handling for specifying 'mode' with insufficiently recent libcloud
2016-12-08 11:24:45 -05:00
John Baublitz
9c9b22dc8f
Changes to allow 'auto' mode which does not allow IP address specification
2016-12-08 11:24:45 -05:00
John Baublitz
839871d87b
Support for newer networking modes in GCE
2016-12-08 11:24:45 -05:00
Ryan
8b582cceaa
fix typo in azure_rm_storageaccount ( #4236 )
2016-12-08 11:24:45 -05:00
chrisweaver
531954e2f6
Enforce boolean type for dup_ok
...
Stop "choices" from being interpreted as strings.
2016-12-08 11:24:45 -05:00