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.
51 lines
858 B
YAML
51 lines
858 B
YAML
---
|
|
- hosts: testhost
|
|
gather_facts: false
|
|
tasks:
|
|
- include_tasks:
|
|
file: include_tasks.yml
|
|
apply:
|
|
tags:
|
|
- foo
|
|
tags:
|
|
- always
|
|
|
|
- assert:
|
|
that:
|
|
- include_tasks_result is defined
|
|
tags:
|
|
- always
|
|
|
|
- include_role:
|
|
name: include_role
|
|
apply:
|
|
tags:
|
|
- foo
|
|
tags:
|
|
- always
|
|
|
|
- assert:
|
|
that:
|
|
- include_role_result is defined
|
|
tags:
|
|
- always
|
|
|
|
- include_role:
|
|
name: include_role2
|
|
apply:
|
|
tags:
|
|
- foo
|
|
tags:
|
|
- not_specified_on_purpose
|
|
|
|
- assert:
|
|
that:
|
|
- include_role2_result is undefined
|
|
tags:
|
|
- always
|
|
|
|
- include_role:
|
|
name: include_role
|
|
apply:
|
|
delegate_to: testhost2
|