summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/taskincludes.yml
blob: 91f0fc6741cd1ed7a034b9487647e7ffebddca2b (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: Fixture
  hosts: localhost
  vars:
    varset: tasks/simple_task.yml
  tasks:
    # - include_tasks: "{{ varnotset }}.yml"
    - include_tasks: "{{ varset }}.yml"
    - include_tasks: tasks/directory with spaces/main.yml
    # Include tasks by FQCN as well to ensure they load
    - ansible.builtin.include_tasks: tasks/passing_task.yml