1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

7 commits

Author SHA1 Message Date
Matt Martz
0015d4cef3
2.8 Core Deprecation Removal ()
* Remove deprecated ansible.vars.unsafe_proxy. Fixes 

* Remove deprecated validate_md5 alias from fetch module. Fixes 

* Remove deprecated private arg from import/include_role. Fixes 

* All include deprecations bumped to 2.12. Fixes 

* Add changelog for deprecated removals
2018-09-10 15:05:52 -05:00
Matt Martz
aeecdbfc35
Restore previous test play, break new tests into a new play () 2018-05-03 13:50:21 -05:00
Matt Martz
240b060c02
Use the computed role name instead of 'role'. Fixes () 2018-04-30 14:41:13 -05:00
Matt Martz
7db5ce2c86
Ensure handlers have proper parent ()
* Ensure role handlers are parented correctly. Fixes 

* Add delegate_to test for include_role handlers
2018-04-27 12:03:57 -05:00
Sam Doran
00068e9fcc
Add integration tests for include_role using variable for tasks_file ()
* Add tests using a variable in tasks_from field

Related to 

* Do not test using hostvars with import_role

hostvars cannot be used with import_role — use include_role instead
2018-03-23 15:43:00 -04:00
Im0
8c4f349743 Test include role with items in name ()
* Tests for 

* Tests for 

* Tests for 
2018-03-20 15:39:16 -05:00
Sam Doran
10a8c6bc25 Integration tests for import/include ()
* First pass at include_role tests

* Reorganize test structure

Do all import and include tests in a single target.

* Build out more tests and test with linear and free strategy for each type

* import_role tests

* Set target host for play test

* Basic import_playbook tests

* Basic import/include_tasks tests

* Add recursion test

* import_playbook tests

* Add import_playbook group_vars test

Issue 

* Additional group_var tests for import_playbook

* Enable recursion test

* More work on import_tasks

* Run all tests via run.sh, improve conditional tests, add never tag

Add never tag to certain failining tests and explicitly skip it for now until  is merged. Some tasks need to remain commented out because they cause the entire play to fail and aren't skippable by tags because they are syntax and/or variable checks.

Improve test for whether or not a role was run based on a conditional. Since the [import|include]_role does not register a variable, use a variable that is set inside a role as a canary test for whether or not the role was run.

* Use a fail task rather than trigger a failure via bogus command

This should resolve the "unstable" test results.

* Import tag tests

Fix bug it tests where validate tasks weren't run on tag tests.
Add tests for task import/include with tags.

* Remove test for playbook group_var inheritance
2018-01-19 08:23:48 -08:00