mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0e834fc9e4
This change corrects problems reported by the `yamllint` linter.
Since key duplication problems were removed in 4d48711
, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
21 lines
538 B
YAML
21 lines
538 B
YAML
- name: verify playbook includes can take parameters
|
|
hosts: testhost
|
|
tasks:
|
|
- assert:
|
|
that:
|
|
- "parameter1 == 'asdf'"
|
|
- "parameter2 == 'jkl'"
|
|
|
|
- name: verify task include logic
|
|
hosts: testhost
|
|
gather_facts: True
|
|
roles:
|
|
- { role: test_includes, tags: test_includes }
|
|
tasks:
|
|
- include: roles/test_includes/tasks/not_a_role_task.yml
|
|
- include: roles/test_includes/tasks/empty.yml
|
|
- assert:
|
|
that:
|
|
- "ca == 33000"
|
|
- "cb == 33001"
|
|
- "cc == 33002"
|