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
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
Jordan Borean
b241c021b7
Set fallaxy tests as a smoketest
2020-03-02 11:59:38 -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
Sumit Jaiswal
4e43bd3a4f
fix nxos_l2 resource tests ( #67916 )
2020-03-02 15:05:26 +05:30
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
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
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
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
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
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
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
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
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
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
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
Sumit Jaiswal
d8c5c6eb9d
Add Switchport mode support in newly introduced *_l2_interfaces resource module ( #67456 )
...
* fixes 65032
2020-02-26 23:49:00 +05:30
Prasad Katti
a1f26af712
ec2_instance - update tests related to termination protection ( #65035 )
...
* ec2_instance - update tests related to termination protection
* add more test cases for termination protection
2020-02-26 11:08:49 -05:00
Matt Clay
e3591223a0
Second batch of incidental integration tests. ( #67765 )
...
* Update incidental test aliases.
* Rewrite target references for renamed targets.
* Add incidental tests to CI.
* Update sanity tests for incidental cloud tests.
* Initial copy of incidental tests.
* Copy contrib files into test.
* Update paths in test.
* Add support plugins.
* Update plugin to work around missing deps.
* Update sanity ignores.
* Fix matrix entries.
* Remove debug echo.
2020-02-25 23:18:50 -08:00
Matt Clay
a19ae28326
Test the delay option in wait_for_connection.
2020-02-25 19:27:18 -08:00
flowerysong
370f788731
adhoc: Load callbacks before sending v2_playbook_on_start ( #67673 )
2020-02-25 17:00:08 -05:00