lint fixes

main
Raimund Konz 11 months ago
parent af593e4ea4
commit 8bd4f52b7c

@ -1,6 +1,7 @@
---
# .ansible-lint
warn_list:
- '204' # Lines should be less than 160 characters
- '701' # meta/main.yml should contain relevant info
- "204" # Lines should be less than 160 characters
- "701" # meta/main.yml should contain relevant info
skip_list:
- '106' # Role name must match ^[a-z][a-z0-9_]+$ pattern
- "106" # Role name must match ^[a-z][a-z0-9_]+$ pattern

@ -1,4 +1,5 @@
---
# No tasks
- debug: msg="No tasks are provided here. Please import the task as needed in your playbook."
...
- name: Nothing here
ansible.builtin.debug:
msg: No tasks are provided here. Please import the task as needed in your playbook.

@ -0,0 +1,5 @@
---
# No tasks
- name: Here we do something nothing
ansible.builtin.debug:
msg: No tasks are provided here. Please import the task as needed in your playbook.

@ -1,5 +1,7 @@
---
- hosts: localhost
- name: Testing example
hosts: localhost
remote_user: root
tasks:
- import_tasks: example.yml
- name: Importing
ansible.builtin.import_tasks: example.yml

Loading…
Cancel
Save