Matt Clay
34b928d283
Remove conflicting urllib3 from pip in uri test.
...
The uri test will fail on centos6 if run after a test that installs urllib3 via pip unless it is uninstalled.
2019-03-14 18:00:13 -07:00
Matt Clay
b8349b1d61
Fix aliases for order integration test.
2019-03-14 13:24:32 -07:00
Sloane Hertel
87ebc56de6
Allow parent groups to be variables or literal ( #53649 )
...
* Allow parent groups to be variables or literal, requires {{ }}
* Check strict before failing on templating errors
* Don't add a group if an invalid parent group was provided
2019-03-14 14:22:18 -04:00
Alan Rominger
8c2037aaa9
do not error in case of empty list constructed group ( #53748 )
2019-03-14 12:27:56 -04:00
Chris Archibald
14d670573a
Ability to add port in portset ( #52734 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* add ports
2019-03-14 15:39:11 +00:00
Chris Archibald
b5144a36ab
New Module: na_elementsw_initiators ( #52375 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* new module
* update author
* update copyright
* fixes
2019-03-14 15:38:49 +00:00
Brian Coca
e280f2f7b0
Try to get correct buffer size to avoid races ( #53547 )
...
* Try to get correct buffer size to avoid races
fixes #51393
* fix test, mock buffer function since all is mocked
2019-03-14 11:04:56 -04:00
Matteo Ferrando
86405b8fe4
(postgresql_privs) accept 'ALL_IN_SCHEMA' objs for 'function' type ( #35331 )
...
* avoid using Postgres formatting function
* add tests for ALL FUNCTIONS IN SCHEMA
* documentation and changelog
* requested changes in tests
* fixed changelog
2019-03-14 20:21:05 +05:30
Sam Doran
55306906cf
Correctly count processors on ARM systems. ( #52884 )
...
- Add unit tests for Linux CPU info
- Add cpuinfo output from several systems for unit tests
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-14 10:31:47 -04:00
Chris Archibald
fa2e8d8fe1
New Module: na_ontap_snapshot_policy.py ( #52299 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* add snapshot policy
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
* review change
2019-03-14 13:30:51 +00:00
Bojan Vitnik
edcd921258
XenServer: Fix wrong FakeXenAPI module import in unit tests ( #53634 )
2019-03-14 17:03:52 +05:30
Felix Fontein
4573f349ea
luks_device: add allow_to_remove_last_key option ( #52371 )
...
* Add allow_to_remove_last_key option.
* Dump headers.
* Add support for old versions of cryptsetup luksDump.
* Update lib/ansible/modules/crypto/luks_device.py
Co-Authored-By: felixfontein <felix@fontein.de>
* Rename allow_to_remove_last_key -> force_remove_last_key.
2019-03-14 09:55:35 +00:00
Felix Fontein
35e7fb776a
docker_image: improve usage ( #52894 )
...
* Add source option.
* Split force parameter into force_source, force_absent and force_tag.
* Move all build-related options into a suboption called build.
* Add changelog.
2019-03-14 09:46:38 +00:00
Zim Kalinowski
a202509ba4
fixing resource facts ( #53727 )
2019-03-14 11:46:33 +08:00
Jordan Borean
c2466c545b
Handle binary files when scanning metadata in python 3 ( #53773 )
2019-03-14 10:00:30 +10:00
Bob Boldin
b67505d271
AWS: new module ec2_transit_gateway fixes #49376 ( #53651 )
...
* AWS: new module ec2_transit_gateway fixes #49376
* Add permissions neeeded for integration tests
* uncomment nolog on creds
* add unsupported to integration test aliases
* remove the shippable/aws/group alias so doesn't conflict with unsupported
2019-03-14 09:42:33 +10:00
Matt Clay
7c315170c6
Reduce verbosity of blocks test.
2019-03-13 15:05:10 -07:00
Jordan Borean
d3792145d5
win_get_url - refactor tests to use httptester ( #53765 )
...
* win_get_url - refactor tests to use httptester
* Use the file lookup instead of slurp
2019-03-14 08:04:49 +10:00
Gabriel do Nascimento Ribeiro
f97a593da5
Add non_unique parameter for group module ( #53085 )
2019-03-13 15:40:07 -04:00
Chris Archibald
0e77eeb205
Merging of broadcast domain and Broadcast domain port ( #51978 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Add domain ports in to broadcast domain
* ansibot fixes
* Revert "Revert "changes to clusteR""
This reverts commit 2713c75f31cbf81ef1785d6ab9ea5d0d4db9af60.
* Fix author
2019-03-13 18:32:54 +00:00
albinpopote
473596a472
New module: na_ontap_net_subnet ( #50491 )
...
* New module: na_ontap_net_subnet
* Sanity tests Fix
* Fix: correct examples
* Fix: examples syntax
* Correction: Sanity 1
* Code review
* Code review + Bugfix
* Add Unit Tests
* Fix Sanity Indentation tests
* FIX: Validator change request
* FIX : Change unit test json fail message
* FIX: Typo ip_ranges in example section
* FIX: Remove NetApp copyright
2019-03-13 18:31:55 +00:00
David Passante
244a9a83aa
cs_iso: fix missing param "is_public" ( #53740 )
...
* cs_iso: fix missing param "is_public"
* add changelog fragment
2019-03-13 19:06:44 +01:00
Matt Martz
07ff2a6494
cliconf and httpapi are documentable plugins now
2019-03-13 10:28:44 -07:00
Alex Stephen
08918c6c2b
GCP IAM Role ( #53490 )
...
* GCP IAM Role
* module util file
* test fix
* unit tests
* test fixes
* doc fragment fixes
* test fixes
* test fix
2019-03-13 13:28:01 -04:00
Matt Clay
a8e328f474
Overhaul ansible-test code coverage and injector. ( #53510 )
2019-03-13 07:14:12 -07:00
Chris Archibald
2e47e9fffa
Modify na_ontap_net_port NetAppModule module format, allow for multiple ports, unit tests ( #52286 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* add update to netport
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
* fix docs
* fix option
2019-03-13 13:06:37 +00:00
Abhijeet Kasurde
8d4343b94c
iptables: implement log_level parameter ( #52880 )
...
Fixes : #25100
Based upon https://github.com/ansible/ansible/pull/25118
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 18:10:59 +05:30
Abhijeet Kasurde
f0ef4dae05
iptables: Add support for gateway parameter ( #53465 )
...
When user specifies the JUMP value to 'tee', gateway is required.
This fix adds new parameter 'gateway' to support this functionality.
Fixes : #53170
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 17:47:44 +05:30
Felix Fontein
c2cb82ec14
ACME: add support for IP identifiers ( #53660 )
...
* Adding support for IP identifiers according to https://tools.ietf.org/html/draft-ietf-acme-ip-05 .
* Add changelog.
* Make sure that the authorizations return value is unchanged for CSRs with DNS-only SANs.
* Remove unneeded import.
* type -> identifier_type
* Python 2.6 compatibility.
* Fix unit tests.
* Add IP address normalization.
* Extend tests.
* Move data into fixtures.
* Adjust BOTMETA.
2019-03-13 10:16:56 +01:00
Fedor V
8ac6145180
vmware_vm_facts: custom attributes support ( #45773 )
...
* Add toggle to attribute facts gathering
Signed-off-by: Fedor V <f.vompe@comptek.ru>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 09:49:20 +05:30
Jordan Borean
b044bb431e
Use shared remote_tmp_dir to simplfy tests ( #53721 )
2019-03-13 12:26:59 +10:00
Jordan Borean
d9795bad98
win_reboot - fix broken tests after recent commit ( #53722 )
2019-03-13 12:24:41 +10:00
Jordan Borean
33939f7fe8
win_psexec: make the tests more stable ( #53716 )
2019-03-13 11:22:59 +10:00
David Passante
495c197770
cloudstack: streamline modules doc (part 3) ( #53412 )
...
* cloudstack: streamline modules doc (part 3)
* Parameter types added
* Copyright format fixes
* Doc style fixes
* Examples format fixes
* Remove cs_loadbalancer_rule from ignore.txt
* cs_loadbalancer_rule: add "version_added" for params added into the documentation
* cs_loadbalancer_rule: ignore E309 for now
* cs_loadbalancer_rule: remove E309 from ignore.txt
2019-03-12 23:19:07 +01:00
Brian Coca
b793f08a92
fixes for stripping ( #52930 )
...
function changed to do in place replacement, should be less expensive even with copy as it avoids 'sub copies', can compose with module_args_copy to create replacement for old behavior
attempt to fix #52910
* handle lists and subdicts correctly
* added missing exception case, which was not noticed since 'cleaning' was not working
* added comments to clarify exceptions
2019-03-12 18:18:38 -04:00
Matt Clay
7a387e216e
Disable failing azure_rm_keyvault test.
2019-03-12 14:29:15 -07:00
Matt Clay
6fd83f96d1
Disable old_style_cache_plugins integration test.
2019-03-12 14:04:30 -07:00
Gaudenz Steinlin
8111425a96
Cloudscale server password ( #53701 )
...
* cloudscale_server: remove required parameter check
The valid parameter combinations are already checked by the API. There
is no need to check a subset of this in the Ansible module as well. This
makes it more likely that future changes in the API won't require
changes in the Ansible module.
* cloudscale_server: add password parameter
Recent revisions of the cloudscale.ch API allow setting a password for a
server. Add this option to the cloudscale_server module.
2019-03-12 21:56:05 +01:00
Gaudenz Steinlin
6471e4653d
Integration test cleanup for cloudscale modules ( #53629 )
...
* Integration test cleanup for cloudscale modules
This refactors the cleanup procedure for the integration tests of the
cloudscale_server and cloudscale_volume modules to use an "always"
section for cleanup. The cleanup code also deletes all resources which
contain the test run prefix. This ensures that all resources are cleaned
up regardless of the actual test result which is a prerequisite for
running these tests in CI.
* Move cloudscale_floating_ip tests from legacy to integration
This also adds code to make sure that floating IPs are deleted even if a
test run fails. This is unfortunately not possible for floatint IPv6
networks.
2019-03-12 17:53:49 +01:00
Chris Van Heuveln
15303b05ef
nxos_vxlan_vtep: sanity.yaml test needs cast for httpapi tcam check ( #53531 )
...
This check was working for network_cli (returns value as int) but
failing for httpapi (returns value as str). Casting to int fixes the problem.
2019-03-12 19:19:27 +05:30
krisvasudevan
651fc88303
Added support for infoblox member object ( #53174 )
...
* changes for member module
2019-03-12 17:48:51 +05:30
Nilashish Chakraborty
f615011de3
New module for BGP configuration management in iosxr ( #53121 )
...
* Add iosxr_bgp module
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Remove unused code
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Remove netconf code
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-03-12 17:47:40 +05:30
Nilashish Chakraborty
9365c0f468
New module for BGP configuration management in Arista EOS ( #52722 )
...
* New module for BGP in EOS
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add function to validate input
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix line indentation
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add integration tests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix sanity test failure
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Remove unused code
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-03-12 17:31:58 +05:30
Matt Clay
1143889f26
Fix integration test inventory.
2019-03-12 00:00:32 -07:00
Matt Clay
759e037edc
Fix integration tests with custom inventory.
...
All inventory hosts to which a connection is actually established
should declare ansible_python_interpreter to avoid interpreter
auto-discovery, as that may select the wrong interpreter.
2019-03-11 21:43:58 -07:00
Jordan Borean
c8c326d88e
Use unicode string for auto interpreter warnings ( #53671 )
...
* Use unicode string for auto interpreter warnings
* Added some unit tests for interpreter selection
* Fix python 3 syntax issues
2019-03-12 14:16:49 +10:00
Brian Coca
f73e03632f
remove obsolete set_play on play_context ( #47934 )
...
* remove redundant assignments from play
- fix unit tests
2019-03-11 18:25:48 -04:00
Matt Clay
8fa294a33a
Fix ansible-test coverage stub memory usage. ( #53652 )
...
Split coverage stub files into multiple parts based on the number
of lines in files included in each stub. This will keep memory usage
down to avoid hanging on Shippable.
2019-03-11 15:14:09 -07:00
Matt Clay
887ab35656
Add support for ansible-test --coverage-check. ( #53573 )
2019-03-11 15:13:09 -07:00
Simon Metzger
0d7ea0bae6
new module aci_access_sub_port_block_to_access_port ( #51940 )
...
* new module aci_access_sub_port_block_to_access_port
* new line at end of file
2019-03-11 18:05:57 -04:00