feat(ci): add ansible lint action in validate #2
Annotations
10 errors and 7 warnings
yaml[new-line-at-end-of-file]:
.ansible-lint#L5
No new line character at the end of file
|
galaxy[no-changelog]:
galaxy.yml#L1
No changelog found. Please add a changelog file. Refer to the galaxy.md file for more info.
|
galaxy[tags]:
galaxy.yml#L1
galaxy.yaml must have one of the required tags: ['application', 'cloud', 'database', 'eda', 'infrastructure', 'linux', 'monitoring', 'networking', 'security', 'storage', 'tools', 'windows']
|
meta-runtime[unsupported-version]:
meta/runtime.yml#L1
'requires_ansible' key must refer to a currently supported version such as: >=2.15.0, >=2.16.0, >=2.17.0
|
var-naming[no-role-prefix]:
roles/k8s_cluster/defaults/main.yml#L3
Variables names from within roles should use k8s_cluster_ as a prefix. (vars: tmpdir)
|
var-naming[no-role-prefix]:
roles/k8s_cluster/defaults/main.yml#L5
Variables names from within roles should use k8s_cluster_ as a prefix. (vars: kubernetes_control_plane_endpoint)
|
var-naming[no-role-prefix]:
roles/k8s_cluster/defaults/main.yml#L6
Variables names from within roles should use k8s_cluster_ as a prefix. (vars: kubernetes_api_server_advertise_address)
|
name[casing]:
roles/k8s_cluster/handlers/main.yml#L3
All names should start with an uppercase letter.
|
meta-no-tags:
roles/k8s_cluster/meta/main.yml#L1
Tags must contain lowercase letters and digits only., invalid: 'Kubernetes Cluster'
|
meta-no-tags:
roles/k8s_cluster/meta/main.yml#L1
Tags must contain lowercase letters and digits only., invalid: 'Kubernetes'
|
jinja[spacing]:
roles/k8s_node/tasks/01_kube_sudoer.yml#L2
Jinja2 spacing could be improved: Ensure group {{ kubernetes_user }} exists -> Ensure group {{ kubernetes_user }} exists
|
jinja[spacing]:
roles/nfs_server/tasks/main.yml#L8
Jinja2 spacing could be improved: {{ item['mode']|default(omit) }} -> {{ item['mode'] | default(omit) }}
|
jinja[spacing]:
roles/utility/tasks/install_node_exporter.yml#L12
Jinja2 spacing could be improved: wget https://github.com/prometheus/node_exporter/releases/download/v{{node_exporter_version}}/node_exporter-{{node_exporter_version}}.linux-amd64.tar.gz -> wget https://github.com/prometheus/node_exporter/releases/download/v{{ node_exporter_version }}/node_exporter-{{ node_exporter_version }}.linux-amd64.tar.gz
|
jinja[spacing]:
roles/utility/tasks/install_node_exporter.yml#L15
Jinja2 spacing could be improved: tar xvfz node_exporter-{{node_exporter_version}}.linux-amd64.tar.gz -> tar xvfz node_exporter-{{ node_exporter_version }}.linux-amd64.tar.gz
|
jinja[spacing]:
roles/utility/tasks/install_node_exporter.yml#L18
Jinja2 spacing could be improved: mv node_exporter-{{node_exporter_version}}.linux-amd64/node_exporter /usr/sbin -> mv node_exporter-{{ node_exporter_version }}.linux-amd64/node_exporter /usr/sbin
|
jinja[spacing]:
roles/utility/tasks/install_node_exporter.yml#L23
Jinja2 spacing could be improved: node_exporter-{{node_exporter_version}}.linux-amd64 -> node_exporter-{{ node_exporter_version }}.linux-amd64
|
jinja[spacing]:
roles/utility/tasks/install_node_exporter.yml#L28
Jinja2 spacing could be improved: node_exporter-{{node_exporter_version}}.linux-amd64.tar.gz -> node_exporter-{{ node_exporter_version }}.linux-amd64.tar.gz
|