Commit graph

23114 commits

Author SHA1 Message Date
Brian Coca
d55ba3ab7c removed syslog in favor of common module logging functions 2016-12-08 11:23:38 -05:00
Brian Coca
682cb99d45 revert must_exist 2016-12-08 11:23:38 -05:00
Shayne Clausson
92f88a4cb4 Replaces 'old' get_ec2_creds connection method with get_aws_connection_info to support passing in security_token for temporary creds. 2016-12-08 11:23:38 -05:00
David Shrewsbury
f91cc1d3e5 Allow setting external attribute
With shade > 0.13.0, networks can be created that are externally
accessible. This adds a parameter for that.

Also, add RETURN documentation and 'if __name__' check around call
to main().
2016-12-08 11:23:38 -05:00
David Shrewsbury
14546fe33c Allow complete router configuration
This change allows one to completely configure a router, including
gateway and interfaces, using the latest shade (>0.13.0).
2016-12-08 11:23:38 -05:00
justnom
b724bf8f1c Adding additional Docker log drivers.
Adding additional `log_driver` choices:
* journald
* gelf
* fluentd

Compatible with Docker version >= 1.8.0
2016-12-08 11:23:38 -05:00
Alex Kessinger
4d227e508d Fix a argument mismatch in elasticache
I think in this commit 720aeffca2

There was bug introduced where the ElastiCacheManager init method has
a number of positional arguments like so.

```py
    def __init__(self, module, name, engine, cache_engine_version, node_type,
                 num_nodes, cache_port, parameter_group, cache_subnet_group,
                 cache_security_groups, security_group_ids, zone, wait,
                 hard_modify, region, **aws_connect_kwargs):
```

But then later in the code the positional arguments are passed in
like this.

```py
    elasticache_manager = ElastiCacheManager(module, name, engine,
                                             cache_engine_version, node_type,
                                             num_nodes, cache_port,
                                             cache_subnet_group,
                                             cache_security_groups,
                                             security_group_ids, parameter_group, zone, wait,
                                             hard_modify, region, **aws_connect_kwargs)
```

If you count, you can see that cache_subnet_group, is being passed in
where the manager expects to see parameter_group.
2016-12-08 11:23:38 -05:00
Matt Calhoun
52f9c3468c The variable $uppercase_cert_thumbprint cannot be retrieved because it has not been set. 2016-12-08 11:23:38 -05:00
Matt Calhoun
a9d954b087 The variable $winrm_cert_thumbprint cannot be retrieved because it has not been set. 2016-12-08 11:23:38 -05:00
Matt Calhoun
70f7f144e0 The variable $https_listener cannot be retrieved because it has not been set. 2016-12-08 11:23:38 -05:00
Matt Calhoun
72970ab7a8 The variable $winrm_https_listener_path cannot be retrieved because it has not been set 2016-12-08 11:23:38 -05:00
Jens Carl
00f9dfac34 Change type of parameter 'template' to 'path'. 2016-12-08 11:23:38 -05:00
Gerard Lynch
f85a8ac746 allow use of volume_type in volumes dict 2016-12-08 11:23:37 -05:00
Jens Carl
507111f090 Fix to handle user directory within parameter 'template'. 2016-12-08 11:23:37 -05:00
Toshio Kuratomi
e7a48cfb40 Use is_executable from its new location 2016-12-08 11:23:37 -05:00
Toshio Kuratomi
e7d9d86ec9 No longer check for tmp_path being sent as we don't use it here anyway 2016-12-08 11:23:37 -05:00
Tom Bamford
dbf882a600 Clarify available options for device_mapping parameter of ec2_ami module 2016-12-08 11:23:37 -05:00
varnav
a05df49998 Fixed confusion in the docs
As 'path' is actually alias for 'dest', this could be confusing.
2016-12-08 11:23:37 -05:00
Toshio Kuratomi
58573187f8 Change the example of rsync_opts to use a list instead of a string
Fixes #9889
2016-12-08 11:23:37 -05:00
Shawn Silva
2962dabeda Fix for modifying the size of an RDS instance. When attempting to modify the size of an RDS instance Ansible succeeds and returns a "changed" status. However, no changes are applied to the RDS instance. Boto is looking for a keyword parameter of "allocated_storage" to update the size, and this parameter wasn't being included. 2016-12-08 11:23:37 -05:00
Selivanov Pavel
63d2575f9f ec2_group.py: added ICMP rule example 2016-12-08 11:23:37 -05:00
Greg DeKoenigsberg
c2cc7f17a3 Change author field for os_redhat_subscription.py 2016-12-08 11:23:37 -05:00
Nathaniel Felsen
ec14a5c728 Adding support for access logs in ELB 2016-12-08 11:23:37 -05:00
dagnello
ec1c18e3d5 Adding new os_subnets_facts module
There can be instances during an Ansible play where the list of subnets
currently available from OpenStack is required.  This update provides
subnet list functionality as a new os_subnets_facts module.
2016-12-08 11:23:37 -05:00
Matias De Carli
d32809cadb updated dependencies to work with azure.py 1.0.1 2016-12-08 11:23:37 -05:00
dagnello
d46894cf91 Adding new image facts module 2016-12-08 11:23:37 -05:00
dagnello
d76f6cceed Adding os_port Module to openstack ansible modules 2016-12-08 11:23:36 -05:00
whiter
82c898be5a Remove 'str' type so that json is properly quoted 2016-12-08 11:23:36 -05:00
Chris Church
7eb7efb737 Fix win_lineinfile to pass integration tests when strict mode is enabled. 2016-12-08 11:23:36 -05:00
dagnello
a4148c50e9 Adding os_networks_facts module
There can be instances during an Ansible play where the list of networks
currently available from OpenStack is required.  This update provides
network list functionality as a new os_networks_facts module.
2016-12-08 11:23:36 -05:00
Abitha Palaniappan
5047561036 os_server: Adding support to accept 'n' nic args as a string containing list 2016-12-08 11:23:36 -05:00
Mike Boone
dd76088019 Updated link to the FAQ. 2016-12-08 11:23:36 -05:00
evanccnyc@users.noreply.github.com
ff81aa11c0 Fixing ec2_asg termination_policy
If this isnt set, it wont launch the instances because it needs to default to "Default" despite what boto docs say.
2016-12-08 11:23:36 -05:00
Chris Church
c56db7920a Revert "Improvements to win_feature" 2016-12-08 11:23:36 -05:00
James Cammarata
4a4674ca24 Fix syntax error in synchronize docstring 2016-12-08 11:23:36 -05:00
David Shrewsbury
b67fb2bd29 More os_router module cleanup and fixes.
Added a RETURN section, corrected version_added value, removed use of
'result' in exit_json() calls.
2016-12-08 11:23:36 -05:00
Frank van Tol
db6c6ec5c9 Update s3.py
We are copying from S3,  the bucket is the source, not the target.
2016-12-08 11:23:36 -05:00
Rob
08999ecfd1 Update iam_policy.py
Fixed doc for policy_name - it is a required field
Removed empty aliases
2016-12-08 11:23:36 -05:00
Chris Church
c35d7304c9 Revert "Rename powershell versions of setup and slurp so they don't shadow the python versions of these modules."
This reverts commit d4e16b0c73.
2016-12-08 11:23:36 -05:00
Gerard Lynch
3339749017 order params, add missing tag param. update examples 2016-12-08 11:23:36 -05:00
Toshio Kuratomi
29cfd80220 Fix improper indentation 2016-12-08 11:23:36 -05:00
skylerbunny
dabf94ab1f Explanation of privilege escalation in notes
An attempt to make clear how privilege escalation works with respect to the src/source host and dest/destination host. One existing note was incorporated into three new ones, iterating each.
2016-12-08 11:23:36 -05:00
Toshio Kuratomi
8ce7348d52 Rename powershell versions of setup and slurp so they don't shadow the python versions of these modules.
This change goes along with https://github.com/ansible/ansible/02502c5727753d02819cb32b94dc2035b65d81a7
2016-12-08 11:23:35 -05:00
Evan Carter
5cd3217fc8 fixing termination policies for ec2_asg 2016-12-08 11:23:35 -05:00
Evan Carter
e9c04cfdfd Fixing bug #2058 and adding some backwards compatibility 2016-12-08 11:23:35 -05:00
Brian Coca
99159b3cdd changed chmod to 2.4 compat 2016-12-08 11:23:35 -05:00
Rob
4f9bb86e58 Add exception handling to iam 2016-12-08 11:23:35 -05:00
wimnat
540061c9fc Remove unnecessary json.loads 2016-12-08 11:23:35 -05:00
Tom Fotherby
135e7c60de Fix #1984 - allow load_balancer_port as a variable 2016-12-08 11:23:35 -05:00
Abitha Palaniappan
d26bff8162 Add support for port-id,port-name to nics in os_server 2016-12-08 11:23:35 -05:00