You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/handlers/force_handlers_blocks_81533...

17 lines
270 B
YAML

- hosts: A,B
gather_facts: false
force_handlers: true
tasks:
- fail:
when: inventory_hostname == "A"
- run_once: true
block:
- debug:
msg: task1
- debug:
msg: task2
- debug:
msg: hosts_left