mirror of https://github.com/ansible/ansible.git
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.
14 lines
396 B
YAML
14 lines
396 B
YAML
2 years ago
|
- hosts: localhost
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- debug:
|
||
|
handlers:
|
||
|
- name: handler
|
||
|
block:
|
||
|
- name: due to how handlers are implemented, this is correct as it is equivalent to an implicit block
|
||
|
debug:
|
||
|
- name: this is a parser error, blocks as handlers are not supported
|
||
|
block:
|
||
|
- name: handler in a nested block
|
||
|
debug:
|