blob: 31317a7940782b2e871c8548c00f6a7fa54c1d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
- name: Fixture
hosts: localhost
vars:
varset: varset
tasks:
- name: Block level 1
block:
- name: Include under block level 1 # noqa: fqcn
include_tasks: tasks/nestedincludes.yml
- name: Block level 2
block:
# - include_tasks: "{{ varnotset }}.yml"
- name: Block level 3
block:
- name: Include under block level 3 # noqa: deprecated-module
ansible.builtin.include_tasks: "{{ varset }}.yml"
- name: Block level 4
block:
- name: INCLUDE under block level 4
ansible.builtin.include_tasks: tasks/directory with spaces/main.yml
|