Commit Graph

27436 Commits (42737bc7c3973ea85b9b18a38f572e5e5cd20377)
 

Author SHA1 Message Date
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
Matt Clay 3ec6722a21 Simplify compileall checks. Remove py3 skip list.
Also applied updates to sanity.sh from ansible-modules-core.
8 years ago
Toshio Kuratomi b82ceae75f Fix python3 syntax for octal numbers 8 years ago
Toshio Kuratomi 58ec3df13d Revert "add support for proxysql (#2917)"
This reverts commit 9d51f82395.

proxysql is breaking docs build.  Reverting until those are fixed
8 years ago
Toshio Kuratomi 5cd11f5e39 Revert "several fixes to doc to avoid breaking doc build"
This reverts commit 6e4a182684.

reverting proxysql modules for owner to fix docs build so reverting this
fix as well.
8 years ago
Brian Coca 15a0cffee0 several fixes to doc to avoid breaking doc build 8 years ago
cameronurnes ec8bd8ee77 Fix elf and elf_facts documentation formatting (#3348)
* This method breaks the output on the documentation site

* Conflicting quotes

* Conflicting quotes
8 years ago
Toshio Kuratomi c41c3abb85 Archive is being added in 2.3 rather than 2.2 8 years ago
bmildren e284af01b1 add support for proxysql (#2917)
* Adding support for proxysql

* Moved and restricted imports, updated exception handling

* Updated version_added, and mysqldb_found constant name

* Removed unnecessary parentheses
8 years ago
Toshio Kuratomi 82d2a4810e Fix installation of environment groups
In dnf, environment groups are separate from groups.  Need to handle
them separately when calling the API.

Fixes #2178

After upstream review, hande dnf-2.0 mandatory packages in groups

If mandatory packages in a group are not installed, a group will report
failure.  Fix this by catching the error and reporting after trying
to install the other packages and groups in the transaction.
8 years ago
Matt Clay 8414b466d7 Code cleanup. 8 years ago
Matt Clay 4ada3463ca Removed tests migrated to ansible/ansible repo. (#3330) 8 years ago
Matt Clay db0ac4936b Skip shard count test in check mode. (#3329)
The shard count is not available in check mode.
8 years ago