Commit graph

27371 commits

Author SHA1 Message Date
jctanner
6cfb44b4bb replace type() with isinstance() (#3404)
Replace use of type() with isinstance()

Addresses https://github.com/ansible/ansible/issues/18310
2016-12-08 11:35:06 -05:00
Michael Scherer
81286b8912 Fix chdir argument to be 'path' 2016-12-08 11:35:06 -05:00
René Moser
e1c0d2dd09 cloudstack: cs_network: cleanup dublicate VPC code (#3393)
Code has been moved to module utils, also see fe05c5e35a
2016-12-08 11:35:06 -05:00
Rene Moser
e93bdb80d3 cloudstack: fix VPC doc 2016-12-08 11:35:05 -05:00
Jens Carl
a79386f2f5 Add support for current Redshift node types (#3328) 2016-12-08 11:35:05 -05:00
Steve Gargan
687aaa197b consul_kv: remove default token (#3373)
changes default token from "anonymous" to None. Fixes #792
2016-12-08 11:35:05 -05:00
Steve Gargan
314f1ea15a allow services to be removed by name as well as id (#3372) 2016-12-08 11:35:05 -05:00
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
2016-12-08 11:35:05 -05:00
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.
2016-12-08 11:35:05 -05:00
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.
2016-12-08 11:35:05 -05:00
Travis Truman
80f622a075 Add support for filtering flavors on ephemeral storage 2016-12-08 11:35:05 -05:00
Brian Coca
7de77be7b2 corrected version added 2016-12-08 11:35:05 -05:00
Fabian Krämer
2e2f24447a Add require_full_window option for Datadog monitors (#2653) 2016-12-08 11:35:05 -05:00
Loïc
405c6820b0 Add parameter hash_host (#3204)
* Add parameter hash_host

* Fix version_added

* Remove spurious whitespace
2016-12-08 11:35:05 -05:00
Brian Coca
bd29252ee7 corrected versionadded 2016-12-08 11:35:05 -05:00
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.
2016-12-08 11:35:05 -05:00
Brian Coca
e33303acd5 added version avialable to docs 2016-12-08 11:35:05 -05:00
Trond Hindenes
cc42d7f38c Added support for IIS AppPool identities (#2675) 2016-12-08 11:35:05 -05:00
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
2016-12-08 11:35:04 -05:00
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>
2016-12-08 11:35:04 -05:00
Tom Paine
9fa6d9eda8 Update letsencrypt.py
Extend `remaining_days` description.
2016-12-08 11:35:04 -05:00
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
2016-12-08 11:35:04 -05:00
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
2016-12-08 11:35:04 -05:00
Matt Clay
3ec6722a21 Simplify compileall checks. Remove py3 skip list.
Also applied updates to sanity.sh from ansible-modules-core.
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
b82ceae75f Fix python3 syntax for octal numbers 2016-12-08 11:35:04 -05:00
Toshio Kuratomi
58ec3df13d Revert "add support for proxysql (#2917)"
This reverts commit 9d51f82395.

proxysql is breaking docs build.  Reverting until those are fixed
2016-12-08 11:35:04 -05:00
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.
2016-12-08 11:35:04 -05:00
Brian Coca
15a0cffee0 several fixes to doc to avoid breaking doc build 2016-12-08 11:35:04 -05:00
cameronurnes
ec8bd8ee77 Fix elf and elf_facts documentation formatting (#3348)
* This method breaks the output on the documentation site

* Conflicting quotes

* Conflicting quotes
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
c41c3abb85 Archive is being added in 2.3 rather than 2.2 2016-12-08 11:35:04 -05:00
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
2016-12-08 11:35:04 -05:00
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.
2016-12-08 11:35:04 -05:00
Matt Clay
8414b466d7 Code cleanup. 2016-12-08 11:35:04 -05:00
Matt Clay
4ada3463ca Removed tests migrated to ansible/ansible repo. (#3330) 2016-12-08 11:35:04 -05:00
Matt Clay
db0ac4936b Skip shard count test in check mode. (#3329)
The shard count is not available in check mode.
2016-12-08 11:35:03 -05:00
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
2016-12-08 11:35:03 -05:00
Scott Butler
5cb9bbbd18 Typo fix requested by marketing. 2016-12-08 11:35:03 -05:00
Andrew Gaffney
c238d3070a Minor fixes for openwrt_init for busybox ps and worthless exit codes 2016-12-08 11:35:03 -05:00
Yevgeniy Valeyev
e064fd3256 cloudtrail: Fix error on existing trail without S3 prefix (#2939) 2016-12-08 11:35:03 -05:00
Mike Rostermund
d50e2c654f lxd_container: doc: Correct name and state for example of deleting (#3299) 2016-12-08 11:35:03 -05:00
Thierno IB. BARRY
b09291be2c elasticsearch_plugin: add check mode support (#3043) 2016-12-08 11:35:03 -05:00
Andrew Gaffney
b69fb8a1ca Add openwrt_init module for managing services on OpenWrt (#3312) 2016-12-08 11:35:03 -05:00
Toshio Kuratomi
09c56140cd * Fix for spaces in the package spec. * Fix for python-2.6 compat 2016-12-08 11:35:03 -05:00
Toshio Kuratomi
d558c55cee install dnf python bindings if possible
Fixes #14427
2016-12-08 11:35:03 -05:00
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
```
2016-12-08 11:35:03 -05:00
Hans-Joachim Kliemeck
1b4eea79d8 win_nssm: set application directory on change of application binary (#3267) 2016-12-08 11:35:03 -05:00
Scott Butler
8745feb567 Clarifies description of path parameter. 2016-12-08 11:35:03 -05:00
Grégory
c2a921ab7c Change azure default deployment mode to incremental (#3023)
* Changed default deployment mode to match with azure -cli behaviour. "Complete" mode by default is too dangerous.

* Set incremental as default behaviour for deployment mode.
2016-12-08 11:35:03 -05:00
Michal Klempa
39e3c530c0 maven_artifact: fix download of SBT published snapshot artifact (#3085)
Fixes #1717
2016-12-08 11:35:03 -05:00
Tim Rupp
9efcfaff48 Adds bigip_sys_global module (#3271)
This module can be used to change a variety of system parameters
typically used for bootstrapping.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_sys_global/tasks/main.yaml

Platforms this was tested on are

12.1.0-hf1
2016-12-08 11:35:02 -05:00