mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 14:50:02 -07:00
Fix cosmetic problems in YAML source
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.
This commit is contained in:
parent
8874c1dc39
commit
0e834fc9e4
251 changed files with 214 additions and 510 deletions
|
@ -1,2 +1 @@
|
|||
- include: more_handlers.yml
|
||||
|
||||
|
|
|
@ -10,5 +10,3 @@
|
|||
- "ca == 4001"
|
||||
- "cb == 4002"
|
||||
- "cc == 4003"
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
- set_fact:
|
||||
- set_fact:
|
||||
ca: "{{ a }}"
|
||||
- debug: var=ca
|
||||
- set_fact:
|
||||
- set_fact:
|
||||
cb: "{{b}}"
|
||||
- debug: var=cb
|
||||
- set_fact:
|
||||
cc: "{{ c }}"
|
||||
- debug: var=cc
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
- "cb == '2'"
|
||||
- "cc == '3'"
|
||||
|
||||
- set_fact:
|
||||
- set_fact:
|
||||
a: 101
|
||||
b: 102
|
||||
c: 103
|
||||
|
@ -34,7 +34,7 @@
|
|||
- include: included_task1.yml a={{a}} b={{b}} c=103
|
||||
|
||||
- name: verify variable include params
|
||||
assert:
|
||||
assert:
|
||||
that:
|
||||
- "ca == 101"
|
||||
- "cb == 102"
|
||||
|
@ -80,5 +80,3 @@
|
|||
# both these via a handler include
|
||||
- included_handler
|
||||
- verify_handler
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
- name: verify playbook includes can take parameters
|
||||
hosts: testhost
|
||||
tasks:
|
||||
- assert:
|
||||
- assert:
|
||||
that:
|
||||
- "parameter1 == 'asdf'"
|
||||
- "parameter2 == 'jkl'"
|
||||
|
@ -10,7 +9,7 @@
|
|||
- name: verify task include logic
|
||||
hosts: testhost
|
||||
gather_facts: True
|
||||
roles:
|
||||
roles:
|
||||
- { role: test_includes, tags: test_includes }
|
||||
tasks:
|
||||
- include: roles/test_includes/tasks/not_a_role_task.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue