Commit Graph

13912 Commits (276c3410a5d3d8e401e77c8c018004d9e8786d07)

Author SHA1 Message Date
James Hart 276c3410a5 consul: Pass through service_id if specified on a check (#3295)
Fixes #3249
The python-consul library already supports this, so it is just a simple
case of enablement.
This does not break the current logic in `add` of parsing as a check,
then parsing as a service if that fails… because service_name is
mandatory on a service registration and is invalid on a check
registration.
8 years ago
Fabio Alessandro Locati 39f4e17838 Improve yaml code and add an if to make the import more standard (#3424) 8 years ago
Fabio Alessandro Locati 7af000bdb1 Use native YAML (#3436) 8 years ago
Fabio Alessandro Locati 1e00adefd5 Use native YAML in the examples (#3441) 8 years ago
Matthieu Dolci 8822021132 ec2_customer_gateway: state present expect bgp_arn instead of bgp_asn (#3366) 8 years ago
Fabio Alessandro Locati 69fa44b6d1 Use native YAML (#3437) 8 years ago
Fabio Alessandro Locati 616c86529f Use native YAML (#3438) 8 years ago
Fabio Alessandro Locati be834293ed Use native YAML (#3439) 8 years ago
Fabio Alessandro Locati 0a338a11c2 Normalize yaml example (#3426) 8 years ago
Fabio Alessandro Locati df6200accc Normalize yaml example (#3425) 8 years ago
Fabio Alessandro Locati 07d96b62b5 Use native YAML (#3434) 8 years ago
Fabio Alessandro Locati 47297bb19c Use native YAML (#3433) 8 years ago
mattwwarren 727e533bfc ec2_elb_facts: fix errors with no names input (#3381)
* None being passed around results in a Bad Time (tm)

* need to return the full set of elbs for an empty list

* logic is hard
8 years ago
Jose Armesto 14fee8d5f7 ec2_lc_find: Set default value for AssociatePublicIpAddress, since is missing when is false (#3417) 8 years ago
Thomas Krahn 9814136d3e Ipa bugfixes (#3421)
* ipa_group: Fix: 'list' object has no attribute 'get'

* ipa_hbacrule: Fix: 'list' object has no attribute 'get'

* ipa_host: Fix: 'list' object has no attribute 'get'

* ipa_hostgroup: Fix: 'list' object has no attribute 'get'

* ipa_role: Fix: 'list' object has no attribute 'get'

* ipa_sudocmd: Fix: 'list' object has no attribute 'get'

* ipa_sudocmdgroup: Fix: 'list' object has no attribute 'get'

* ipa_sudorule: Fix: 'list' object has no attribute 'get'

* ipa_user: Fix: 'list' object has no attribute 'get'

* ipa_sudorule: Fix: invalid 'cn': Only one value is allowed

* ipa_hostgroup: module returns changed if assigned hosts or hostgroups are not in lowercase
8 years ago
Jason Ritchie 0f6aa07d88 Detect and correct PowerShell mishandling nssm Unicode output as UTF8 (#2867)
* extra detail on which step triggered 'change', detect and handle powershell mishandling nssm's unicode as utf8

* Simpler handling of nssm output encoding

Thanks @nitzmahone for a cleaner way to control PowerShell's behavior
8 years ago
Henrique Rodrigues 54c5ebf697 New ec2_group_facts module to be able to get facts from EC2 security groups (#2591)
Add `ec2_group_facts` module to gather facts from EC2 security groups
8 years ago
Andrew Gaffney a8d80f7165 Fix bare variable references in docs 8 years ago
Krzysztof Magosa c6b08ca623 tempfile: simple module creating temporary files/directories in OS-independent manner (#2991) 8 years ago
René Moser de3aea7c36 cloudstack: cs_ip_address: fix returns on state=present (#3406)
In case poll_job=false the return must be None
8 years ago
René Moser 0324d7a681 new module nginx_status_facts (#3286)
* new module nginx_status_facts

* nginx_status_facts: remove requirement

* nginx_status_facts: implement timeout param

* nginx_status_facts: update example docs
8 years ago
jctanner 46174588ca Refactor usage of type() (#3412)
Addresses https://github.com/ansible/ansible/issues/18440
8 years ago
Jeremy Olexa e44362b6f8 consul_kv, consul_acl: fix missing types bool (#3327)
* Specify bool in consul_kv: validate_certs param
* Specify bool in consul_acl: validate_certs param
* Specify bool in consul_kv: retrieve param
8 years ago
Christophe Biocca 55130b960b haproxy: Fix compatibility when map is actually imap. (#3350)
While I still have no idea why or how the `map` call is being swapped out while still running in python 2.7, this change will fix the following error, as well as improve py3 compatibility.
8 years ago
jctanner b3795322e9 More isinstance fixes (#3405)
* More isinstance fixes
* Use double types
8 years ago
Thomas Krahn 32fef233f2 Add FreeIPA modules (#3247)
* Add FreeIPA modules

* Update version_added from 2.2 to 2.3

* ipa_*: Use Python 2.4 syntax to concatenate strings

* ipa_*: Replace 'except Exception as e' with 'e = get_exception()'

* ipa_*: import simplejson if json can't be imported

* ipa_hbacrule: Fix: 'SyntaxError' on Python 2.4

* ipa_sudorule: Fix: 'SyntaxError' on Python 2.4

* ipa_*: Fix 'SyntaxError' on Python 2.4

* ipa_*: Import get_exception from ansible.module_utils.pycompat24

* Add FreeIPA modules

* Update version_added from 2.2 to 2.3

* ipa_*: Fix 'SyntaxError' on Python 2.4

* ipa_*: Replace Python requests by ansible.module_utils.url

* ipa_*: Replace Python requests by ansible.module_utils.url

* ipa_*: Add option validate_certs

* ipa_*: Remove requests from Ansible module documentation requirements

* ipa_sudorule: Remove unnecessary empty line

* ipa_sudorule: Remove markdown code from example

* ipa_group: Add choices of state option

* ipa_host: Rename options nshostlocation to ns_host_location, nshardwareplatform to ns_hardware_platform, nsosversion to ns_os_version, macaddress to mac_address and usercertificate to user_certificate and add aliases to be backward compatible
8 years ago
Kei Nohguchi cc95bc4935 openvswitch_bridge: Check VLAN ID only under fake bridge (#3374) 8 years ago
jctanner 6cfb44b4bb replace type() with isinstance() (#3404)
Replace use of type() with isinstance()

Addresses https://github.com/ansible/ansible/issues/18310
8 years ago
Michael Scherer 81286b8912 Fix chdir argument to be 'path' 8 years ago
René Moser e1c0d2dd09 cloudstack: cs_network: cleanup dublicate VPC code (#3393)
Code has been moved to module utils, also see fe05c5e35a
8 years ago
Rene Moser e93bdb80d3 cloudstack: fix VPC doc 8 years ago
Jens Carl a79386f2f5 Add support for current Redshift node types (#3328) 8 years ago
Steve Gargan 687aaa197b consul_kv: remove default token (#3373)
changes default token from "anonymous" to None. Fixes #792
8 years ago
Steve Gargan 314f1ea15a allow services to be removed by name as well as id (#3372) 8 years ago
Eric 081719cc67 Return actual queue attributes with result from sqs_queue creation/update (#1362)
* Return actual queue attributes with result

Previously this was only returning the desired queue attributes, and not even returning the QueueARN for use elsewhere.  Now it will return "results.attributes" that is retrieved with boto's get_queue_attributes().

* update return structure to reflect current SQS config; add documentation of return values

* Remove redundancy from if/else statement
8 years ago
Ryan Morlok 7095959a55 Enhanced ecs_taskdefinition module.
Added support to explicitly manage task definitions be revision. If the
revision expectations of the ansible task cannot be met, an error is
thrown.

If revision is not explicitly specified, enhanced module to be
idempotent with respect to task definitions. It will search for an
active revision of the task definition that matches the containers and
volumes specified. If none can be found, a new revision will be created.
8 years ago
Nijin Ashok b55c973444 Fix issue in activating the VM disk while attaching disk
Currently <active> tag is passed within the disk element which is
incorrect. As a result, disk will remain inactive even though the
default option is true.
8 years ago
Travis Truman 80f622a075 Add support for filtering flavors on ephemeral storage 8 years ago
Brian Coca 7de77be7b2 corrected version added 8 years ago
Fabian Krämer 2e2f24447a Add require_full_window option for Datadog monitors (#2653) 8 years ago
Loïc 405c6820b0 Add parameter hash_host (#3204)
* Add parameter hash_host

* Fix version_added

* Remove spurious whitespace
8 years ago
Brian Coca bd29252ee7 corrected versionadded 8 years ago
Jason Cormie 78e8709085 Allow setting the visible name of a host in zabbix (#2919)
In Zabbix, the visible name defaults to the hostname.  This is not very
useful if you try to manage vmware VMs as the so called host_name within
zabbix must be set to the vcenter UUID.

This patch allows you to provide an alias which will be shown with
zabbix.  If its not supplied it will default to host_name.
8 years ago
Brian Coca e33303acd5 added version avialable to docs 8 years ago
Trond Hindenes cc42d7f38c Added support for IIS AppPool identities (#2675) 8 years ago
Iago Garrido 6036bb69d9 Fixes win_uri module ignoring body argument (#2504)
* Fixes win_uri module ignoring body argument

* Added body field of the response to the documentation
8 years ago
Adam Miller bedf56a7fd provide useful error when invalid service name provided add offline mode to firewalld permanent operations
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
8 years ago
Tom Paine 9fa6d9eda8 Update letsencrypt.py
Extend `remaining_days` description.
8 years ago
Michael Ansel 52e14bd172 jira: Specify the correct argument type (#3368)
By default, all arguments are considered strings, but the module code expects the `fields` parameter to be a proper Python dictionary.

Fixes #2600
8 years ago
Toshio Kuratomi 138f2cd847 Fix for dnf groupinstall
Previous fix to group install introduced a different bug trying to
strip() group names at the wrong level.  This patch fixes that.

Fixes #3358
8 years ago