summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/blocks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Typo fixes and other bits and bobs (#83672)Lee Garrett2024-07-271-1/+1
| | | Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
* Correctly count rescued tasks in play stats (#79724)Martin Krizek2023-01-122-0/+26
| | | | | Fixes #79711 ci_complete
* Deprecate using a list of dicts for vars. See #78920 (#78927)Matt Martz2022-09-291-1/+1
|
* Propagate ansible_failed_task to an outer rescue (#78676)Martin Krizek2022-09-063-0/+38
| | | | | | | Fixes #43191 Fixes #72638 Fixes #78042 Co-authored-by: Sandra McCann <samccann@redhat.com>
* _get_next_task_from_state should not mutate anyting outside of state (#78657)Martin Krizek2022-08-302-0/+22
| | | Fixes #78612
* Move handler processing into new PlayIterator state (#77955)Martin Krizek2022-08-163-0/+48
| | | | | | | | | | | Fixes #46447 Fixes #52561 Fixes #54991 Fixes #64611 Fixes #64999 Fixes #65067 Fixes #72725 Fixes #72781 Fixes #77616
* Re-organize CI test groups for POSIX tests. (#77420)Matt Clay2022-08-041-1/+1
| | | | | | * `context/target` tests must be in groups 1 - 2. * `context/controller` tests must be in groups 3 - 5. This makes it easier to efficiently organize groups and balance test runtimes.
* ansible-test - split controller/target testing (#75605)Matt Clay2021-09-211-0/+1
|
* Remove include from tests (#74330)David Shrewsbury2021-04-203-8/+8
|
* Actually run blocks/finalized_task test (#74291)Martin Krizek2021-04-161-0/+2
|
* Prevent ansible_failed_task from further templating (#74290)Martin Krizek2021-04-152-0/+19
| | | | | | | * Prevent ansible_failed_task from further templating Fixes #74036 * Add changelog
* Ensure task from the worker is finalized/squashed (#73881)Matt Martz2021-03-162-0/+20
| | | * Ensure task from the worker is finalized/squashed. Fixes #57399. Fixes #49942
* Fix notify on import_tasks (#73572)Brian Coca2021-03-032-0/+22
| | | | | * Fix notify on import_tasks also able to apply to blocks now.
* Add implicit role_complete block instead of role._eor (#72208)Martin Krizek2020-12-095-0/+24
| | | | | Co-authored-by: Matt Martz <matt@sivel.net> Fixes #69848
* _check_failed_state: always use the current/nested state (#71347)Martin Krizek2020-08-262-0/+25
| | | Fixes #71306
* Fix play stats when rescue block is a child block (#70922)David Shrewsbury2020-08-184-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | * check run state of current block only * Add changelog and test * Add test for issue 29047 * Fix for both tests * blerg * Change test messages * fix tests * Add multi-level block in rescue test case * Add recursive rescue check and multi-level test * Should probably run the new test * ci_complete * Merge new tests * ci_complete
* Detect failure in always block after rescue (#70094)Martin Krizek2020-06-184-0/+76
| | | | | | | | | * Detect failure in always block after rescue Fixes #70000 ci_complete * Add more tests
* Fix ansible_failed_{task,result} undefined in rescue (#64831)Martin Krizek2019-11-142-0/+18
| | | | | | | | | This is a fix for a regression introduced by Perfy. Since then we mainly operate on host.name instead of the Host object. In a call to set_nonpersistent_facts where we set ansible_failed_task and ansible_failed_result variables we were still passing the object which led to those vars being undefined. Fixes #64789
* Fix sanity tests based on newer version of shellcheck (#60423)Sam Doran2019-08-121-4/+4
| | | | | - change egrep to grep -E - store exit codes and check them directly - ignore SC1091
* Reduce verbosity of blocks test.Matt Clay2019-03-131-4/+7
|
* Revert Clear failed state in always only if we did rescue (#52968)Jordan Borean2019-02-263-0/+22
| | | | | | | | | | * Revert "Clear failed state in always only if we did rescue (#52829)" This reverts commit f135960fc2e7572ce4e241b71cde64701a2d768c. * Add tests for failed scenario * Set failed task with EXPECTED FAILURE
* More test fixes for split controller/remote tests.Matt Clay2019-01-261-1/+1
|
* Fix integration tests to support remote hosts.Matt Clay2019-01-251-1/+1
|
* Add new host_pinned strategy (#44586)Brian Coca2018-08-241-0/+8
| | | | The 'free' strategy still attempts to do all hosts per task before going to the next, it just doesn't wait for slow hosts, This strategy processes each host as fast as possible to the end of the play before trying to process another host in the pool.
* Update Shippable integration test groups. (#43118)Matt Clay2018-07-241-1/+1
| | | | | | | * Update Shippable integration test groups. * Update integration test group aliases. * Rebalance AWS and Azure tests with extra group. * Rebalance Windows tests with another group.
* Add any_errors_fatal in nested failed block test (#35499)Martin Krizek2018-02-021-0/+11
|
* Fix triggering parent's always with run_once set (#35464)Martin Krizek2018-01-301-0/+14
|
* Initial ansible-test implementation. (#18556)Matt Clay2016-11-301-0/+1
|
* Split integration tests out from Makefile. (#17976)Matt Clay2016-10-125-0/+131