Commit Graph

27575 Commits (6ffd494efb146714fc4b297706ade5823118a6b1)
 

Author SHA1 Message Date
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
Igor Gnatenko 16896194a8 dnf: fix compatibility with DNF 2.0 (#3325)
* dnf: fix compatibility with DNF 2.0

* Reimplement (copy) old dnf.cli.commands.parse_spec_group_file(),
  upstream uses argparse since 2.0.
* add_remote_rpm() has been changed to the add_remote_rpms()

Closes: https://github.com/ansible/ansible-modules-extras/issues/3310
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>

* fixup! dnf: fix compatibility with DNF 2.0
8 years ago
Scott Butler 5cb9bbbd18 Typo fix requested by marketing. 8 years ago
Andrew Gaffney c238d3070a Minor fixes for openwrt_init for busybox ps and worthless exit codes 8 years ago
Yevgeniy Valeyev e064fd3256 cloudtrail: Fix error on existing trail without S3 prefix (#2939) 8 years ago
Mike Rostermund d50e2c654f lxd_container: doc: Correct name and state for example of deleting (#3299) 8 years ago
Thierno IB. BARRY b09291be2c elasticsearch_plugin: add check mode support (#3043) 8 years ago
Andrew Gaffney b69fb8a1ca Add openwrt_init module for managing services on OpenWrt (#3312) 8 years ago
Toshio Kuratomi 09c56140cd * Fix for spaces in the package spec. * Fix for python-2.6 compat 8 years ago
Toshio Kuratomi d558c55cee install dnf python bindings if possible
Fixes #14427
8 years ago
Yanis Guenane f9a36962bd network: Add new module openssl_privatekey
This module aims to allow a user to manage the lifecycle of OpenSSL
private keys. Internally it relies on the pyOpenSSL python library
to interact with openssl.

A user is able to specify :

  * key size (via `size` parameter)
  * key algorithm (via `type` parameter)
  * key location (via `path` parameter)

The most simple use case is:

```
- name: Generate ansible.com.pem SSL private key
  openssl_privatekey: name=ansible.com.pem
                      path=/etc/ssl/private
```

A user can speficy more settings:

```
- name: Generate ansible.com.pem SSL private key
  openssl_privatekey: name=ansible.com.pem
                      path=/etc/ssl/private
                      size=2048
                      type=DSA
```

A user can also force the regeneration of an SSL key:

```
- name: Generate ansible.com.pem SSL private key
  openssl_privatekey: name=ansible.com.pem
                      path=/etc/ssl/private
                      force=true
```
8 years ago
Hans-Joachim Kliemeck 1b4eea79d8 win_nssm: set application directory on change of application binary (#3267) 8 years ago