lint fixes
parent
af593e4ea4
commit
8bd4f52b7c
@ -1,6 +1,7 @@
|
|||||||
|
---
|
||||||
# .ansible-lint
|
# .ansible-lint
|
||||||
warn_list:
|
warn_list:
|
||||||
- '204' # Lines should be less than 160 characters
|
- "204" # Lines should be less than 160 characters
|
||||||
- '701' # meta/main.yml should contain relevant info
|
- "701" # meta/main.yml should contain relevant info
|
||||||
skip_list:
|
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
|
# 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
|
remote_user: root
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: example.yml
|
- name: Importing
|
||||||
|
ansible.builtin.import_tasks: example.yml
|
||||||
|
Loading…
Reference in New Issue