1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/includes/test_include_host_pinned.yml
Brian Coca 9cc56981b5
Add new host_pinned strategy (#44586)
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.
2018-08-23 20:16:32 -04:00

9 lines
184 B
YAML

- hosts: testhost
gather_facts: no
strategy: host_pinned
roles:
- test_includes_host_pinned
tasks:
- assert:
that:
- "inner_host_pinned == 'reached'"