Martin Nečas
4ef7bd4c79
ovirt: update botmeta deprecated ( #67826 )
...
* ovirt: update botmeta deprecated
* correct deprecate option
* remove duplication
* add removed_module
* add removed_module to external_provider
* add imports and metaclass
* update misc ovirt
* update sanity tests to have correct misc ovirt name
Signed-off-by: mnecas <necas.marty@gmail.com>
* remove unnecessary sanity ignore
2020-03-02 10:18:35 +00:00
Martin Nečas
48fffe167d
ovirt_vm: remove deprecated warning ( #67922 )
...
* ovirt_vm: remove deprecated warning of boot params
* update docs
2020-03-02 04:45:25 -05:00
Sumit Jaiswal
4e43bd3a4f
fix nxos_l2 resource tests ( #67916 )
2020-03-02 15:05:26 +05:30
Matt Clay
29978d027b
Update default test container to version 1.12.
2020-03-02 00:06:47 -08:00
Matt Clay
637d1f19d5
Skip lookup tests on Python 2.6.
...
Lookups are only executed on the controller and Python 2.6 is no longer supported on the controller.
2020-03-02 00:06:18 -08:00
Matt Clay
64782dd815
Split unit tests into 3 groups. ( #67917 )
2020-03-01 22:57:48 -08:00
Jordan Borean
97d2d4512f
Separated ps module_util test targets, added WebRequest tests ( #67914 )
...
* Separated ps module_util test targets, added WebRequest tests
* Simplify header test
2020-03-02 16:12:08 +10:00
Jordan Borean
c66ee7e994
Split C# module utils to their own test target ( #67910 )
...
* Split C# module utils to their own test target
* Fix up outstanding sanity ignores
2020-03-02 15:16:31 +10:00
Adharsh Srivats R
f3ddf1bc95
NX-OS ACL interfaces module ( #67505 )
...
* Rebase
* Completed integration tests
* Added unit tests
* Added warning detection
* Updated tests
* Completed tests
* Linting
Linting II
YAML Lint
Linting
* Updated review changes
* Updated examples, fixed reviews
* Added failure condition
* Resolved merge conflict
2020-03-02 09:52:32 +05:30
Matt Clay
42eba3ce25
Increase unit test timeout.
2020-03-01 19:22:56 -08:00
Matt Clay
ebb255f0d3
Add Python 3.9 to ansible-test.
...
ci_complete
ci_coverage
2020-03-01 17:42:06 -08:00
Matt Clay
e0875f2aef
Skip ios_acls unit test on Python 3.5.
2020-03-01 14:07:37 -08:00
Shachaf92
2e38f80f9e
win_timezone - Allow for _dstoff timezones ( #67892 )
...
* win_timezone - Allow for _dstoff timezones
* Update win_timezone-Allow-dstoff.yml
* Added doc entry for new format
Co-authored-by: Jordan Borean <jborean93@gmail.com>
2020-03-02 08:02:38 +10:00
Matt Clay
64a2864158
Fix ansible-test constraints for AWS.
2020-03-01 14:01:25 -08:00
Matt Clay
8446553953
Fix ACI unit test on Python 3.8+
2020-03-01 13:59:58 -08:00
Matt Clay
c06f442409
Fix ansible-test import sanity test venv setup.
2020-03-01 13:59:24 -08:00
Matt Clay
bcddf2bda9
Increase unit test coverage timeout.
2020-03-01 13:59:09 -08:00
Matt Clay
ac8f1ad4e2
Fix AttributeError in ce_lacp on Python 3.9.
2020-03-01 13:58:42 -08:00
gp
44d8ce9b31
Remove redundant check for pyopenssl ( #67901 )
2020-03-01 21:32:49 +01:00
Matt Clay
99e657162f
Fix ansible-test module_utils analysis.
2020-03-01 12:29:54 -08:00
Matt Clay
40dc851f7e
Skip mongodb tests on all centos versions.
...
The tests were already skipped for versions 6 and 7, and are not passing on version 8.
2020-03-01 10:33:42 -08:00
Matt Clay
0c0b3f054b
Remove invalid skip aliases in tests.
2020-03-01 10:32:01 -08:00
Adharsh Srivats R
3558651d39
nxos_lldp_interfaces resource module ( #67802 )
...
* Added nxos_lldp_interfaces module
* Linting
* Added RTT, resolved shippable errors
* Added new states
* New states edit
* Updated states
* Updated tests
* Show all interfaces in facts
* Test changes
* Added unit tests
* Linting
* Handled portchannel failing condition
2020-03-01 20:52:25 +05:30
Felix Fontein
4b718ed58b
The different MongoDB test setups collide. ( #67895 )
...
ci_complete
2020-03-01 15:26:04 +01:00
Abhijeet Kasurde
b3381704e3
Misc documentation fixes ( #67863 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-03-01 10:44:53 +01:00
Rohit
8f9f8ec594
VyOS: firewall_interfaces module added ( #67254 )
...
* firewall_interfaces module added
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* sanity fixes
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* sanity fixes
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* delete opr updated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* tests updated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* comments incorporated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* ci failure fix
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
2020-03-01 11:02:22 +05:30
Richard Strnad
7765870421
NXOS: Manually Configurable Route-Target ( #52650 )
...
* Renamed auto evpn test
* Made sure that the current module is idempotent with additional tests
* Added tests for route-target import function
* Added tests for route-target export function
* Added tests for route-target both function
* PEP8 syntax fix
* Added route-target import & export function
* Added required 'version_added: "2.8"' in the documentation
* Updated documentation of new route-target options
* Added a test to make sure that in case of `state=absent` on the vrf
level the route-target options are ignored.
* Specified that the route-target options are ignored in case of
`state=absent'.
* Updated the doc to the correct format (using 'C()')
* Changed the VRF Route Target Syntax
Instead of using three different params (route_target_import,
route_target_export, route_target_both) the module uses now only one
param (route_targets) and the direction is specified for each of the
route targets.
Example:
route_targets:
[{rt: '...', direction: '{import|export|both}', state: '...'}]
* Updated Description and Examples to reflect new params
* Updated "version_added"
* pep8 fixes
* If rt['direction'] is not definied, we assume default 'both' and run
the same routine
* Added test with default direction for route-targets
* Documentation fixes
2020-03-01 10:39:04 +05:30
Felix Fontein
db2d5b09ef
ldap_attr: fix small bug (using wrong variable) ( #67887 )
...
Changed self.name to name in ldap_attr module
2020-03-01 09:17:44 +05:30
Matt Clay
70fc69c852
Fix vcenter requirements.
2020-02-29 13:49:26 -08:00
Mikhail Yohman
9dacbea5ef
Update BOTMETA.yml migrated_to for Netbox components ( #67586 )
...
* Update BOTMETA.yml to show they have been migrated to netbox_community.ansible_modules
* Update BOTMETA.yml to proper format
* Expanded from dir to each module migrated_to
* Fixed test issues
* Updated to new FQCN
2020-02-29 16:43:29 +00:00
Andrew Klychkov
0bb2d67562
add new module mongodb_info ( #67846 )
...
* add new module mongodb_info
* fix doc and examples
* add GPL info
* use LooseVersion in the function doc string
2020-02-29 15:37:52 +01:00
Felix Fontein
35fd86c6bc
acme_* modules: adjust documentation to reference RFCs 8737 and 8738 instead of the drafts ( #67881 )
...
* Adjust documentation to reference RFCs 8737 and 8738 instead of the drafts.
* More references.
2020-02-29 14:20:14 +01:00
Matt Clay
ce0fc4005c
Temporarily remove AIX from CI.
2020-02-28 21:07:47 -08:00
Matt Clay
7c8b046b5f
Fourth batch of incidental integration tests. ( #67873 )
...
* Copy in incidental posix tests.
* Update incidental test aliases.
* Update target names.
* Add support plugins.
* Fix paths.
* Update ignores.
* Update integration-aliases sanity test.
* Add incidental tests to CI.
2020-02-28 20:37:50 -08:00
Matt Clay
04666c9fa1
Clean up unit tests to assist with migration. ( #67875 )
...
* Split out cache plugin unit tests.
* Rename unit tests to match code under test.
* Relocate unit test code to match code under test.
* Another rename.
* Update sanity ignores.
2020-02-28 20:29:41 -08:00
Paul Belanger
3c9747ba2f
Remove unused json import ( #67876 )
...
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-02-28 21:31:52 -05:00
Julien PRIGENT
fbcef7e586
cloudwatchlogs_log_group.py: retention handling improvement ( #48004 )
...
* cloudwatchlogs_log_group.py: retention handling improvement
* add purge_retention_policy to cloudwatchlogs_log_group.py
* update version added for purge_retention_policy feature
* make retention and purge_retention_policy mutually exclusive
* make purge_retention_policy and overwrite mutually exclusive
* changelog
Co-authored-by: Sloane Hertel <shertel@redhat.com>
Co-authored-by: Mark Chappell <mchappel@redhat.com>
2020-02-28 20:33:30 -05:00
Jordan Borean
26129fcb80
ansible-galaxy - optimise some paths and use fake galaxy int tests ( #67685 )
...
* ansible-galaxy - optimise some paths and use fake galaxy int tests
* Added init, built, and publish tests
* Test against both mocked Galaxy and AH server
* Finish off writing the install tests
* Fix up broken tests
* Rename test target and add migrated tests
* Use cloud provider for Galaxy implementation
* Added blank static config
* Use correct alias group
* Set release version and fix copy typo
* Remove reset step as it is no longer needed
* Use sane env var names for test container name
2020-02-29 08:59:09 +10:00
Sam Doran
d30c57ab22
win_unzip - normalize and compare paths to prevent path traversal ( #67799 )
...
* Actually inspect the paths and prevent escape
* Add integration tests
* Generate zip files for use in integration test
* Adjust error message
2020-02-28 17:56:21 -05:00
Markus Bergholz
8ab304af44
implement support for hidden/protected variables gitlab_project_variable ( #67461 )
...
* #66135 implement support for hidden/protected variables
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
* update example value
* fix pep
* fix pep8
* fix tailing whitespace
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update test/integration/targets/gitlab_project_variable/tasks/main.yml
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* fix recommendations and request changes
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update test/integration/targets/gitlab_project_variable/tasks/main.yml
Co-Authored-By: Felix Fontein <felix@fontein.de>
* fix undefine module
* add missing import
* expand documentation
* add idempotent check
* add changelog
* Update changelogs/fragments/67461-gitlab-project-variable-masked-protected.yml
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* check also for integer_types
* expand integration test and check also for float type
* append documentation
* Update lib/ansible/modules/source_control/gitlab/gitlab_project_variable.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-02-28 23:17:03 +01:00
Sam Doran
7a42354021
Switch to using FreeBSD 12.1 ( #67659 )
2020-02-28 17:12:55 -05:00
Ruheena Ansari
e0eee3c37e
Run Powershell modules on windows container via docker connection ( #67832 )
...
* Run modules on windows container
This provides an ability to run Powershell modules on windows container via docker connection. Otherwise, Ansible tries to run python modules on windows containers and fails.
* Removing whitespace in the blank lines
* Adding a changelog fragment
2020-02-28 23:05:53 +01:00
Guillaume Bour
09fb563317
fix docker_login doc example ( #67852 )
2020-02-28 15:37:50 -05:00
nemethloci
a76d78f691
Fixed incorrect request body when creating VM snapshot with disks ( #67815 )
...
* Fixed incorrect request body when creating VM snapshot with disks
* fixed changlog file extension
2020-02-28 12:32:14 -05:00
Matt Clay
b84dc2f2a6
Add integration test for regex_search filter.
2020-02-28 08:38:50 -08:00
Sumit Jaiswal
9392912608
Resource module for IOS ACL ( #66629 )
...
* fix ios_acl
2020-02-28 22:06:38 +05:30
Mark Chappell
32a76f0aa1
Add 'OperationAborted' to the list of S3 error codes where we'll retry ( #67811 )
2020-02-28 11:26:26 -05:00
misacek007
dbd86be2d6
Update vmware_guest_info.py ( #67853 )
...
forgotten doc replacement of vmware_guest_facts to vmware_guest_info
2020-02-28 21:23:35 +05:30
Sayed Anisul Hoque
b437167671
line indentation issue in postgresql_set ( #67859 )
...
Fixed indentation issue with the `register` for the example task in postgresql_set module.
2020-02-28 21:22:30 +05:30
Rick Elrod
ed37efb217
"Fix" test_get_bin_path by changing mock order ( #67730 )
...
pytest-mock 2.0.0, when run locally, gets grumpy when os.path.exists is
messed with and then another method is patched afterwards. Likely
something in the pytest-mock chain uses os.path.exists internally, and
since pytest-mock prohibits context-specific patching, there's not a
good solution. For now, just patch os.path.exists last.
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-02-28 10:39:27 -05:00