Matt Clay
cf75e3f526
Fix ansible-test import analysis for collections. ( #68352 )
...
* Fix ansible-test import analysis for collections.
* Ignore plugins/module_utils/__init__.py
2020-03-23 11:14:21 -05:00
Matt Clay
6fde9b3a23
Fix shebang sanity test module identification.
2020-03-23 11:14:21 -05:00
Jordan Borean
aaf575f0b2
Internally redirect win modules to collection name ( #68317 )
...
* Internally redirect win modules to collection name
* Added comment for how this should be fixed in a subsystem plugin
* add collection plugins for base tests
2020-03-23 11:14:21 -05:00
Matt Clay
2c7f8bf586
Fix ansible-test windows-integration module refs.
2020-03-23 11:14:21 -05:00
Matt Clay
a63dd92a45
Clean up network test config.
2020-03-23 11:14:21 -05:00
Matt Martz
26da443fd2
Address compat issue for collection loading on py26 ( #68219 )
...
* Address compat issue for collection loading on py26
* Move import_module shim to utils for compat across the codebase
* Enable collection tests on py2.6
* Update changelog fragment
* Simplify code using sys.moduls
* Move compat to module_utils/compat/importlib
* Add back errantly deleted newline
* Remove hack comment
Co-Authored-By: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2020-03-23 11:14:21 -05:00
Matt Clay
41f6c73be0
Update ansible-test network test provisioning. ( #68220 )
...
* Update network provisioning defaults.
* Update network test requirements.
2020-03-23 11:14:21 -05:00
Matt Clay
5159457ba1
Fix ansible-test unit test requirements.
...
Requirements were incorrectly added to ansible-test in https://github.com/ansible/ansible/pull/61813
These requirements should have been placed into `test/units/requirements.txt` instead.
Now that the relevant content has been migrated out of the repository, the requirements are no longer necessary there either.
No changelog entry for this change since the original changes were not included in any release and also lacked a changelog entry.
2020-03-23 11:14:21 -05:00
Matt Clay
2dd9c479dc
Remove unnecessary unit test requirements.
2020-03-23 11:14:21 -05:00
Matt Clay
815a36d7a9
Fix sanity test ignores.
2020-03-23 11:14:21 -05:00
Matt Clay
7e8dae5790
Remove unused unit test files.
2020-03-23 11:14:21 -05:00
Matt Clay
9126ac53e3
Add dynamic and static include tests. ( #68200 )
...
* Add dynamic and static include tests.
* Update task names for junit output.
2020-03-23 11:14:21 -05:00
Matt Clay
8715bc400a
Add coverage filtering to ansible-test. ( #68158 )
...
* Relocate expand_indexes so it can be reused.
* Add generate_indexes function.
* Simplify type annotations.
* Add `coverage analyze targets filter` command.
* Add changelog entry.
2020-03-23 11:14:21 -05:00
Matt Clay
09614d90ac
Consolidate Windows tests to one group.
2020-03-23 11:14:21 -05:00
Matt Clay
27ce6dbc1f
Remove test support option from ansible-test.
...
This option was added to facilitate migration and is no longer needed.
2020-03-23 11:14:21 -05:00
Matt Clay
fb3e6d6b00
Remove unused Shippable scripts.
2020-03-23 11:14:21 -05:00
Matt Clay
50442f9fdd
Fix ansible-test handling of no Python coverage.
2020-03-23 11:14:21 -05:00
Matt Clay
99e136e153
Remove out-of-date test constraint on paramiko.
...
ci_complete
2020-03-23 11:14:21 -05:00
Rick Elrod
26c45b2c2f
Fix docker_swarm inventory integration tests ( #68126 )
...
* copy plugins.inventory.docker_swarm in to test/support
Signed-off-by: Rick Elrod <rick@elrod.me>
* Copy over functions from module_utils.docker.common and nuke the import
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-03-23 11:14:21 -05:00
Matt Clay
5e28323f32
Fix incidental test stability. ( #68125 )
2020-03-23 11:14:21 -05:00
Alicia Cozine
69543b47c9
fix last 7 docs errors on post-migration test runs ( #68115 )
...
* address toc-tree-glob-pattern-no-match errors
* address Include-file-not-found error
* address 2.10 porting guide errors, add warning to page
* updates individual plugin type pages
* Add ignores.
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2020-03-23 11:14:21 -05:00
Matt Clay
4cecacb915
Update Shippable test matrix. ( #68117 )
...
* Update Shippable test matrix.
* Remove unit test groups.
* Remove extra windows groups.
2020-03-23 11:14:21 -05:00
Ansible Core Team
e0e57b4beb
migration final cleanup
2020-03-23 11:14:21 -05:00
Ansible Core Team
c788ee69d9
Migrated to wti.remote
2020-03-23 11:14:21 -05:00
Ansible Core Team
cc2feea51b
Migrated to vyos.vyos
2020-03-23 11:14:21 -05:00
Ansible Core Team
40714dfca9
Migrated to openvswitch.openvswitch
2020-03-23 11:14:21 -05:00
Ansible Core Team
ab914b9ab6
Migrated to azure.azcollection
2020-03-23 11:14:21 -05:00
Ansible Core Team
fe0f4750e1
Migrated to purestorage.flashblade
2020-03-23 11:14:21 -05:00
Ansible Core Team
d9920706d7
Migrated to purestorage.flasharray
2020-03-23 11:14:21 -05:00
Ansible Core Team
7449ec1546
Migrated to google.cloud
2020-03-23 11:14:21 -05:00
Ansible Core Team
fb696bf66b
Migrated to cyberark.bizdev
2020-03-23 11:14:21 -05:00
Ansible Core Team
b82d084e90
Migrated to skydive.skydive
2020-03-23 11:14:21 -05:00
Ansible Core Team
dd5a8dec21
Migrated to hetzner.hcloud
2020-03-23 11:14:21 -05:00
Ansible Core Team
36a545553e
Migrated to dellemc_networking.os6
2020-03-23 11:14:21 -05:00
Ansible Core Team
bc40fe0b6f
Migrated to dellemc_networking.os9
2020-03-23 11:14:21 -05:00
Ansible Core Team
0b633b3703
Migrated to dellemc_networking.os10
2020-03-23 11:14:21 -05:00
Ansible Core Team
d1f86d7151
Migrated to ovirt.ovirt
2020-03-23 11:14:21 -05:00
Ansible Core Team
02541a15b2
Migrated to awx.awx
2020-03-23 11:14:21 -05:00
Ansible Core Team
35063de590
Migrated to junipernetworks.junos
2020-03-23 11:14:21 -05:00
Ansible Core Team
8ee0187388
Migrated to openstack.cloud
2020-03-23 11:14:21 -05:00
Ansible Core Team
6ce86295c0
Migrated to f5networks.f5_modules
2020-03-23 11:14:21 -05:00
Ansible Core Team
675129ae19
Migrated to cisco.ucs
2020-03-23 11:14:21 -05:00
Ansible Core Team
3149db0869
Migrated to cisco.nxos
2020-03-23 11:14:21 -05:00
Ansible Core Team
ae8fb5e371
Migrated to cisco.mso
2020-03-23 11:14:21 -05:00
Ansible Core Team
8a3f3e41f8
Migrated to cisco.meraki
2020-03-23 11:14:21 -05:00
Ansible Core Team
5aa37733c3
Migrated to cisco.iosxr
2020-03-23 11:14:21 -05:00
Ansible Core Team
7e04b5ba8b
Migrated to cisco.ios
2020-03-23 11:14:21 -05:00
Ansible Core Team
8a2e2e8af2
Migrated to cisco.intersight
2020-03-23 11:14:21 -05:00
Ansible Core Team
ab5a3b4305
Migrated to cisco.asa
2020-03-23 11:14:21 -05:00
Ansible Core Team
3f1cea89fb
Migrated to cisco.aci
2020-03-23 11:14:21 -05:00
Ansible Core Team
14b0ab63ac
Migrated to arista.eos
2020-03-23 11:14:21 -05:00
Ansible Core Team
6da1ec1d8c
Migrated to check_point.mgmt
2020-03-23 11:14:21 -05:00
Ansible Core Team
f0cf2c159b
Migrated to netapp.ontap
2020-03-23 11:14:21 -05:00
Ansible Core Team
cae9d633b0
Migrated to netapp.elementsw
2020-03-23 11:14:21 -05:00
Ansible Core Team
0a9205b7c0
Migrated to netapp.aws
2020-03-23 11:14:21 -05:00
Ansible Core Team
bdd82adf61
Migrated to netbox.netbox
2020-03-23 11:14:21 -05:00
Ansible Core Team
0743e733bb
Migrated to theforeman.foreman
2020-03-23 11:14:21 -05:00
Ansible Core Team
09d8d46983
Migrated to fortinet.fortios
2020-03-23 11:14:21 -05:00
Ansible Core Team
48d4e9370e
Migrated to ansible.windows
2020-03-23 11:14:21 -05:00
Ansible Core Team
829eb0f1d1
Migrated to ansible.posix
2020-03-23 11:14:21 -05:00
Ansible Core Team
9a7a574ffc
Migrated to ansible.netcommon
2020-03-23 11:14:21 -05:00
Ansible Core Team
6d910034a0
Migrated to ansible.amazon
2020-03-23 11:14:21 -05:00
Ansible Core Team
8f7e9f73ce
Migrated to servicenow.servicenow
2020-03-23 11:14:21 -05:00
Ansible Core Team
bb3494356a
Migrated to community.windows
2020-03-23 11:14:21 -05:00
Ansible Core Team
40218535ee
Migrated to community.vmware
2020-03-23 11:14:21 -05:00
Ansible Core Team
f8c4936c10
Migrated to community.vmware_rest
2020-03-23 11:14:21 -05:00
Ansible Core Team
46b865c7d6
Migrated to community.mongo
2020-03-23 11:14:21 -05:00
Ansible Core Team
0ed8af9021
Migrated to community.crypto
2020-03-23 11:14:21 -05:00
Ansible Core Team
fb6bc5058a
Migrated to community.kubernetes
2020-03-23 11:14:21 -05:00
Ansible Core Team
43f47d553e
Migrated to community.grafana
2020-03-23 11:14:21 -05:00
Ansible Core Team
4e488d8435
Migrated to community.general
2020-03-23 11:14:21 -05:00
Ansible Core Team
58e8a91f4d
Migrated to community.amazon
2020-03-23 11:14:21 -05:00
Ansible Core Team
32bf1b8115
Migrated to frr.frr
2020-03-23 11:14:21 -05:00
Ansible Core Team
38c652712c
Migrated to containers.podman
2020-03-23 11:14:21 -05:00
Matt Clay
d7b7ed6ba6
Remove assemble from incidental tests.
...
The module and action plugin are now remaining in base.
2020-03-06 13:02:54 -08:00
Rick Elrod
21dfec6c4f
make test_raw use setUp instead of global definitions
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-03-06 09:34:21 -08:00
Matt Clay
2c0be65f44
Relocate netbox module_utils unit tests. ( #68056 )
...
* Relocate netbox module_utils unit tests.
This puts them where migration expects them.
* Update sanity ignores.
2020-03-05 16:01:55 -08:00
Rick Elrod
65edd5e37f
Split test_connection into individual files
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-03-05 14:08:38 -08:00
Matt Clay
35996e57ab
Add missing test support plugin.
2020-03-04 22:35:12 -08:00
Matt Clay
46fdbbdd18
Split test_play_context_make_become_cmd into files ( #68026 )
...
* Split test_play_context_make_become_cmd into files
For NWO migration. Split the become module assertions into distinct test
files and functions. For now, this is done naively - there is probably
room to abstract these tests out and remove some of the duplication
later on.
Signed-off-by: Rick Elrod <rick@elrod.me>
* use default_exe variable instead of hardcoding /bin/bash
Signed-off-by: Rick Elrod <rick@elrod.me>
* Move become plugin tests to their proper directory and rename them accordingly
Signed-off-by: Rick Elrod <rick@elrod.me>
* Fix up fixtures and imports.
* Remove stray file.
Co-authored-by: Matt Clay <matt@mystile.com>
2020-03-04 22:26:04 -08:00
Matt Clay
f963c8ca3d
Update no-unwanted-files sanity test.
...
This prepares for an additional path to be present after migration.
2020-03-04 14:03:35 -08:00
Matt Clay
b26ceb57ce
Remove file exists check from botmeta sanity test.
...
Many of the paths in botmeta will no longer exist after migration, making this check pointless.
2020-03-04 14:03:09 -08:00
Matt Clay
4fb7e62003
Include more test support plugins. ( #68015 )
...
* Include more test support plugins.
Also add missing module_utils `__init__.py` files.
* Update sanity ignores.
2020-03-04 12:20:02 -08:00
Matt Clay
a51266ba85
Skip removed windows CI groups after migration.
2020-03-04 12:08:05 -08:00
Matt Clay
8339704831
Create a dedicated windows-minimal test target. ( #67987 )
...
* Create a dedicated windows-minimal test target.
The windows-minimal target is a copy of the win_ping test, taking the place of that test as the windows minimal test run on multiple python versions.
It includes a private copy of the win_ping module so it will work after migration.
This will keep tests passing during the migration prep process.
* Update sanity ignores.
2020-03-03 18:36:37 -08:00
Matt Clay
3508e1197e
Update test matrix to prepare for migration. ( #67983 )
...
* Split fallaxy tests into their own group.
This keeps expected pass/fail tests separate during migration prep.
* Move network tests down in matrix.
This will help keep pass/fail tests grouped together during migration prep.
* Group all incidental tests together.
This will keep pass/fail tests separate leading up to migration.
2020-03-03 16:23:48 -08:00
Matt Clay
f4b923a29b
Automatically enable test plugins after migration.
2020-03-03 16:23:27 -08:00
Matt Clay
1a8fdaadc7
Fix powershell coverage path rewriting.
...
This applies the same rewrite logic to PowerShell coverage as is used for Python coverage.
2020-03-03 14:07:29 -08:00
Jordan Borean
b241c021b7
Set fallaxy tests as a smoketest
2020-03-02 11:59:38 -08:00
Matt Clay
7c493577ba
Unit test cleanup to assist with migration. ( #67920 )
...
* Move linode unit tests to match module layout.
* Fix location of netapp module_utils unit tests.
* Update sanity ignores.
2020-03-02 10:40:34 -08:00
Nilashish Chakraborty
d4581aca96
Update nxos_l2_interfaces merged test ( #67918 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2020-03-02 21:44:10 +05:30
Adharsh Srivats R
7307339a7e
NX-OS ACLs module ( #67558 )
...
* Added nxos_acls module
* Adding tests
* Added integration tests
* Integration tests update
* Updated documentation
* Replaced state changes
* Added warning detection
* Added port-protocol mapping
* Added change
* Merge update changes
* Completed integration tests, rtt
* Added unit tests
* Linting
Added metaclass info
* Changed port protocol to str
* Fixed shippable errors, added examples
* Fixed type error, updated examples
2020-03-02 16:49:28 +05:30
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
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
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
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
Matt Clay
70fc69c852
Fix vcenter requirements.
2020-02-29 13:49:26 -08: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
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
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
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
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
Sumit Jaiswal
4c0eb4396b
Resource module for IOS static routes ( #64632 )
...
* ios_static_routes
2020-02-28 18:29:17 +05:30
Sumit Jaiswal
6629b9feef
Resource module for IOS ACL_Interfaces ( #66746 )
...
* acl_interfaces
2020-02-28 16:29:18 +05:30
Felix Fontein
08fc9f63b6
Add x509_crl_info module ( #67539 )
...
* Add x509_crl_info module.
* Apply suggestions from code review
Co-Authored-By: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-02-28 08:00:47 +01:00
Matt Clay
21475aa83b
Test system users and groups.
2020-02-27 21:45:18 -08:00
Abhijeet Kasurde
b6c2056ea2
mongodb_user: fix doc formatting ( #67763 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-02-28 09:04:27 +05:30
Abhijeet Kasurde
0cd22abe8c
mongodb: Fix documentation ( #67806 )
...
* Added correct datatypes of parameter
* Fixed doc formatting
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-02-28 08:51:06 +05:30
Matt Clay
8e31a2fe40
Add lookup_dict integration test. ( #67836 )
...
* Add lookup_dict integration test.
* Skip test on python 2.6.
2020-02-27 18:45:37 -08:00
Matt Clay
f735fd672a
Third batch of incidental integration tests. ( #67830 )
...
* Copy in incidental windows tests.
* Update incidental test aliases.
* Add support plugins.
* Update target references.
* Update sanity ignores.
* Update integration-aliases test.
* Add to CI.
2020-02-27 16:05:47 -08:00
Mark Chappell
da30e6d2e1
sqs_queue - Move to boto3 and add support for various extra features ( #66795 )
...
* reworked sqs_queue
* Switch default purge_tags behaviour to false.
This matches the behaviour of ec2_tag and ecs_tag.
* Minor lint / review fixups
* Add missing AWS IAM policy for SQS tests
* Move integration tests to using module_defaults: group/aws:...
* add changelog
* Break out the 'compatability' map from our spec definition (gets flagged by the schema validation)
* Tweaks based on review
* add basic examples
* Lint fixups
* Switch out NonExistentQueue logic so it's easier to follow
* Reorder name argument options for consistency
Co-authored-by: Dennis Podkovyrin <dennis.podkovyrin@gmail.com>
2020-02-27 15:26:20 -07:00
Sam Doran
d7546ba336
Fix PostgreSQL tests for newer FreeBSD versions ( #67658 )
...
Use PostgreSQL 9.5 on FreeBSD 12.0, and PostgreSQL 11 on FreeBSD 12.1 and 11.3 due to the Python packages having a dependency on that version of PostgreSQL and automatically uninstalling PostgreSQL 9.5.
* Use separate PostgreSQL versions for 12.0 and 12.1
2020-02-27 15:01:15 -05:00
mmoyle
cfe96b2092
add module cloudformation_exports ( #67349 )
...
* add module cloudformation_exports
* add RETURN, add aliases group, clean up yaml
* update return value. uncomment security_token. remove cloudformation shortcut
* fix typo
* try to delete test stack
* rename stack
* add cleanup and assert. try to set stack name with variable
* create s3 bucket instead
* set bucket name
* add tests, remove unsed key and import, add iam role, add to module_defaults
* import exceptions, fix assert syntax
* fix assert
* Update test/integration/targets/cloudformation_exports/tasks/main.yml
Co-Authored-By: Jill R <4121322+jillr@users.noreply.github.com>
* fix export name
* renamed module
Co-authored-by: Jill R <4121322+jillr@users.noreply.github.com>
2020-02-27 11:39:59 -07:00
Stefan Horning
652346ad5d
Allow passing through of (almost) all params available … ( #58118 )
...
* Allow passing through of (almost) all params available on boto methods in aws_api_gateway
* Linting and docs fixes
* Refactored method signature of create_deployment() to use keyword args instead of named args
* Updated version_added flags to 2.10
* Cleanup and improve aws_api__gateway integration test play. Also included new params into test.
* Fixed RETURN docs and some ttests
* Completed RETURN docs and made integration tests match
* Fixed variable names in test and YAML syntax in docs
* Comment out critical sections of integration test
* Fixed update test after figuring out what the error message means. Also updated error message to be more descriptive.
* Fixed test assertion
* Update docs and make tests reflect that endpoint type wont be changed on updates
* Syntax fix
* Add changelog fragment
* Improve aws_api_gateway docs, fix typos.
* Quote doc lines with colon
2020-02-27 10:44:20 -07:00
Andrew Klychkov
a81ab5fe40
mysql_db: add possibility to make dump with --no-create-db option ( #67767 )
...
* mysql_db: add possibility to make dump with --no-create-db option
* add changelog fragment
* fix
2020-02-27 13:51:23 +00:00
Abhijeet Kasurde
ed306c7991
influxdb: Fix documentation ( #67807 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-02-27 13:43:16 +01:00
Nilashish Chakraborty
3405ee1c01
Add iosxr_static_routes RM ( #65181 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2020-02-27 14:31:00 +05:30
Brian Scholer
9afe87139a
Add win_psrepository_info module ( #67594 )
...
* Add win_psrepository_info module
* Change return type
* Add tests for win_psrepository_info
2020-02-27 16:05:37 +10:00
Andrew Klychkov
10feb24870
mongodb_shard: fix doc formatting ( #67750 )
2020-02-27 08:04:12 +05:30
Mark Chappell
d5c17118ed
s3_bucket - cleanup and test stabilisation. ( #66778 )
...
* AnsibleAWSModule related cleanup - s3_bucket
* Add extra information to s3_bucket timeout failures, it's possible the comparisons are doing something weird...
* Move Bucket Encryption boto support logic into the pre-flight checks
* Use the built in required_by logic
* Rework s3_bucket integration tests
* Add a retry around put_bucket_encryption
s3_client.put_bucket_encryption is occasionally dropped on the floor
by Amazon add some logic to retry s3_client.put_bucket_encryption call
* Catch OperationAborted and retry, it is caused by a conflicting change
still being in progress. (For example an Encryption setting applying)
* Make sure we don't explode if the botocore version's too old
* Review tweaks
2020-02-26 16:54:39 -07:00
Markus Bergholz
9463d28967
read enabled_key_rotation status also in aws_kms_info ( #67770 )
...
* read enabled_key_rotation status
* add changelog
* use AWSRetry decorator to prevent api rate limits
* fix pip8
2020-02-26 16:51:04 -07:00
sky-joker
454b043c13
Reflect changed JSON structure than zabbix version 4.4 or more to zabbix_user
...
add fragments file
Fix several pointed out
https://github.com/ansible/ansible/pull/67475#discussion_r380528775
https://github.com/ansible/ansible/pull/67475#discussion_r380532685
Enable integration test
2020-02-26 15:40:17 -08:00
Jill R
5550fc442b
Mark aws_acm unstable and connection_aws_ssm disabled ( #67787 )
...
* Mark aws_acm and connection_aws_ssm unstable
CI failures in https://app.shippable.com/github/ansible/ansible/runs/160867/133/tests
and https://app.shippable.com/github/ansible/ansible/runs/160867/129/tests
* Disabling concection_aws_ssm, it's repeatedly failing on this PR
https://app.shippable.com/github/ansible/ansible/runs/160888/133/tests
2020-02-26 14:56:05 -08:00
Andrew Klychkov
dd53c104d7
postgresql_info: move subscription info to corresponding database dict ( #67772 )
2020-02-26 22:25:16 +01:00
Matt Clay
b68e55da26
Remove test/legacy/
directory. ( #67786 )
...
* Remove `test/legacy/` directory.
* Remove references to `test/legacy/` directory.
* Update the remaining valid legacy reference.
* Remove outdated legacy references.
2020-02-26 11:48:30 -08:00