Commit graph

41056 commits

Author SHA1 Message Date
Matt Clay
8066acc90c
Support skip of platforms by version in tests. (#48826)
* Support skip of platforms by version in tests.

Previously a remote platform could be skipped completely using the alias:

`skip/{platform}` such as `skip/rhel`

Now a specific platform version can be skipped using the alias:

`skip/{platform}{version}` such as `skip/rhel7.6`

This feature is available for platforms specified with the `--remote` option.

* Add skip by version to the docs.
2018-11-16 16:38:47 -08:00
Tim Rupp
9af5724bd4
Remove the f5-sdk from bigip_remote_syslog (#48539) 2018-11-16 15:13:08 -08:00
Pilou
5271f771f0 YAML inventory doc: add info about 'all' group, remove unused option (#25408)
* YAML inventory: add note about 'all' group, update
2018-11-16 15:53:03 -06:00
Matt Davis
97f97339f7
re-enable batch tests for win_script (#48822)
* skipped on Server 2008 since batch interpreter is busted under UTF8 codepage
* see https://github.com/ansible/ansible/issues/21915 for more details
2018-11-16 11:23:53 -08:00
Miguel Angel Muñoz González
d13eaed435 Initial commit for fortios_webfilter_fortiguard (#48161) 2018-11-16 13:35:35 -05:00
Tim Rupp
dd2629ff0b
Adds new module for gtm topology records (#48817) 2018-11-16 10:05:23 -08:00
tchernomax
bf2ef364b7 pacman: add & deprecate options (#30482)
Add:

 * extra_args
 * update_cache_extra_args
 * upgrade_extra_args

which add flexibility.

Deprecate `recurse` which is redundant with extra_args.

`force` is also redundant but is kept for module ergonomics.
2018-11-16 12:27:28 -05:00
Tim Rupp
0e1dca6e8f
Adds the bigip_imish_config module. (#48779)
This can be used to manage bgp configuration on a BIG-IP.
2018-11-16 09:17:57 -08:00
Brian Coca
3132266aa1 use ansible json encoding/decoding to avoid errors (#47214)
tackle known issues with (de)serializing certain objects
fixes #47200
2018-11-16 12:11:33 -05:00
Martin Krizek
86be056633 inventory: fix hostname check (#48789) 2018-11-16 09:02:08 -05:00
David Soper
62b165c8d3 UCS managed objects module for direct control of any object (#44470)
* UCS managed objects module for direct control of any object and properties.

* Avoid checks for parent info or passwords in property compares

* Planned for 2.8

* try except for imports
2018-11-16 12:46:41 +00:00
Will Thames
aaf29c785f Provide Kubernetes resource validation to k8s module (#43352)
* Provide Kubernetes resource validation to k8s module

Use kubernetes-validate to validate Kubernetes resource
definitions against the published schema

* Additional tests for kubernetes-validate

* Improve k8s error messages on exceptions

Parse the response body for the message rather than returning
a JSON blob

If we've validated and there are warnings, return those too - they
can be more helpful

```
"msg": "Failed to patch object: {\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},
       \"status\":\"Failure\",\"message\":\"[pos 334]: json: decNum: got first char 'h'\",\"code\":500}\n",
```
vs
```
"msg": "Failed to patch object: [pos 334]: json: decNum: got first char 'h'\nresource
        validation error at spec.replicas: 'hello' is not of type u'integer'",
```

* Update versions used

In particular openshift/origin:3.9.0

* Add changelog for k8s validate change
2018-11-16 12:44:59 +00:00
lwm
ae0054a79e Add new linode_v4 module. (#46151)
Refs:
  * https://github.com/ansible/ansible/issues/36348
  * https://github.com/ansible/ansible/pull/41875
2018-11-16 12:39:05 +00:00
Felix Fontein
afded1c778 Use force_kill instead of stop_timeout to fasten container cleanup. (#48733) 2018-11-16 12:37:12 +00:00
Matt Clay
e6ffc4f89a Remove CI platform: freebsd/10.4 2018-11-16 00:46:09 -08:00
Anton Nikulin
9770ac70f9 FTD modules: upsert functionality and bug fixes (#47747)
* FTD modules: bug fixes and upsert functionality

* Fix sanity checks

* Fix unit tests for Python 2.6

* Log status code for login/logout

* Use string formatting in logging
2018-11-16 11:55:36 +05:30
Felix Fontein
ce3a9cfae5 Only pass ipam parameter to create_network() if needed. (#48735) 2018-11-16 01:20:32 -05:00
Matt Clay
6745ee7cc8 Switch tests from RHEL 7.5 to 7.6. 2018-11-15 21:42:49 -08:00
Zim Kalinowski
e9c91ebd09
updating container service to 4.2.2 (#48768) 2018-11-16 12:38:54 +08:00
Tim Rupp
f8f2746efc
Adds a series of new parameters to bigip_virtual_server (#48777) 2018-11-15 20:33:37 -08:00
Tim Rupp
04520361ac
Fixes the changing of the root password so it is no longer logged (#48774) 2018-11-15 20:32:39 -08:00
Tim Rupp
2cd4224fb3
Fixes ipv6 and defaults errors (#48776) 2018-11-15 20:15:11 -08:00
Dan
01b06dd5f2 Added track option for nxos_static_route module (#48710) 2018-11-16 09:33:22 +05:30
Tim Rupp
4f80c45c51
Adds revoke functionality to device license (#48772) 2018-11-15 20:01:24 -08:00
Tim Rupp
8b8aca21c1
Fixes bugs introduced while removing the f5-sdk (#48775) 2018-11-15 19:54:19 -08:00
Tim Rupp
5e0effdfcc
Adds limits feature to bigip_gtm_server (#48773) 2018-11-15 19:48:36 -08:00
Tim Rupp
0e71f62a95
Various small fixes to bigip modules (#48769) 2018-11-15 19:48:22 -08:00
Tim Rupp
a7b7c07ad2
Adds bigip_file_copy module (#48770)
This module can be used to copy files to specific datastores on
a bigip
2018-11-15 19:42:53 -08:00
Abhijeet Kasurde
2962f3e519 Update rds documentation for upgrade (#48713)
upgrade parameter is available only when command is one of the
following [ create, modify, replicate, restore ]

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-15 20:57:57 -06:00
Zim Kalinowski
0fecc84c9f fixed sample code (#48707) 2018-11-16 09:32:32 +08:00
Martin Krizek
869d866aa1 display.error on no matching --start-at-task (#45221) 2018-11-15 19:35:51 -05:00
Abhijeet Kasurde
864f266216 Correct usage in RDS Group name in example (#48705)
RDS Group name in `describe_db_parameter_groups` does not accept
underscore in name. Replacing underscore with hypen which is allowed.
2018-11-15 17:49:33 -06:00
Alex Ratner
0c7f6e5047 fixes for typos, grammar, and links (#48721)
* fixes for typos, grammar, and links on magic vars page
2018-11-15 17:46:41 -06:00
Brian Coca
05246f7db8 inventory now errors for invalid group/host names (#45499)
* inventory now errors for invalid group/host names

also made yaml inventory slightly smarte

fixes #45493

* add some 'YAML protection' to ini plugin

* better msg

* avoid ranges as positive match

* pepe

* expand inherited instead of total override
2018-11-15 16:29:40 -05:00
Dag Wieers
fd02ecd290 Code example improvements in Windows documentation (#45055)
This PR includes:
- Using explicit yaml+jinja code-blocks
- Work around pygments lexer issues with colons (in URLs and options)
2018-11-15 16:17:29 -05:00
Toshio Kuratomi
007092869b Fix the changelog links to porting guide to be anonymous
Prevents duplicate reference errors.
2018-11-15 12:59:47 -08:00
Keith Resar
43affc661b add want_ssh_ansible_host flag to foreman dynamic inventory (#34169) 2018-11-15 15:58:34 -05:00
Matt Clay
0755f16f9a Improve release make summary shell compatibility.
This should work with at least bash, dash and zsh.
2018-11-15 11:53:38 -08:00
Matt Clay
feb5b0b299 Fix unit test issues with pytest >= 4.0.0. 2018-11-15 10:06:07 -08:00
Kushal Das
83f27b57fc Adds a new qubes connection plugin
This plugin will allow to execute commands, put or fetch files
from other VMs in Qubes OS.
2018-11-15 08:27:13 -08:00
Abhijeet Kasurde
f0c290c930 slack: Add validate_certs option in plugin (#46567)
This fix adds a configurable parameter for slack plugin.

Fixes: #45682

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-15 09:15:27 -06:00
Xaroth
87d10b9b78 Include dependency role names in role_names. (#46483)
* -Change: Include dependency role names in `role_names`.
-Add: `play_role_names` magic variable to include only explicitly named roles (formerly `role_names`).
-Add: `dependent_role_names` magic variable to include all dependency names for all roles.

* -Change: use the ansible_ prefix for new magic variables.
-Change: keep `role_names` as a deprecated variable, using the old functionality.

* -Add: changelog fragment for the role_names rework.

* -Add: Tests for the role_names (and ansible_*role_names) special variables

* -Fix: resolve erroneous documentation snippet that was introduced after rebasing.

* -Fix: explicitly sort to ensure list comparison works in test.
2018-11-15 10:01:29 -05:00
nervo
90d17924a4 Sysvinit - Enabling a service should use "defaults" if no runlevels are specified (#48724) 2018-11-15 09:53:10 -05:00
Alex Stephen
5ad5677b71 GCP Bug Fixes (#48276)
* GCP Bug fixes

* added util file changes
2018-11-15 13:44:10 +00:00
René Moser
c7c3ca1c41 cs_template: fix KeyError on state=extracted (#48675)
* cs_template: fix KeyError on state=extracted

* add changelog
2018-11-15 13:38:42 +00:00
Abhijeet Kasurde
5126068a19 Missing min version in string format (#48715)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-15 08:13:39 -05:00
Sviatoslav Sydorenko
c66e16097f
Fix license badge link (#48712) 2018-11-15 12:02:10 +01:00
aatighi
9536ccab35 Update elb_target.py (#48701)
In the first Examples, the value for target_id has been set as IP Address instead of ID. 

+label: docsite_pr
2018-11-15 16:16:08 +05:30
Zim Kalinowski
406da7a568
upgrading azure-mgmt-compute to the latest (#47601)
* upgrading azure-mgmt-compute to the latest
2018-11-15 15:24:42 +08:00
Hiroyuki Matsuo
60dcfc3a09 Add rabbitmq_vhost_limits module (#37821)
* Improve code structure
* Add author for module
* Now returns some values
* Update module's metadata
* Copy test case of rabbitmq_lookup
* Add test cases for rabbitmq_vhost_limits
* Minor fixes in documentation
* Fix module's return values
* Refactor module
* Improve test case
* Revise English in documentation
* Disable returning values because it's useless & unnecessary
* Work on failures: E261: match PEP8 styles
* Work on failures: E312: add RETURN section in documentation
2018-11-15 10:10:41 +05:30