9ad8c11469
Also updates tests for the custom ansible-lint rules. Adds a simple testsuite so test roles and playbooks that are known to be faulty or valid can be put in a directory structure like: <rule id>/valid/playbooks/valid_playbook.yaml <rule id>/valid/roles/valid_role/tasks/main.yaml <rule id>/valid/roles/valid_role/handlers/main.yaml <rule id>/faulty/playbooks/faulty_playbook.yaml <rule id>/faulty/roles/faulty_role/tasks/main.yaml <rule id>/faulty/roles/faulty_role/handlers/main.yaml So they will verify that the rules work as expected. Change-Id: I29d0766c67e690e35490586f6befb95e4cd31b98
9 lines
131 B
YAML
9 lines
131 B
YAML
- block:
|
|
- debug:
|
|
msg: zj_item
|
|
with_items:
|
|
- 1
|
|
- 2
|
|
loop_control:
|
|
loop_var: zj_item
|