Fix linting issues #6
Annotations
10 errors and 10 warnings
yaml[line-length]:
.github/workflows/stale.yml#L19
Line too long (169 > 160 characters)
|
yaml[line-length]:
.github/workflows/stale.yml#L21
Line too long (168 > 160 characters)
|
yaml[comments]:
.travis.yml#L20
Missing starting space in comment
|
yaml[comments]:
.travis.yml#L33
Missing starting space in comment
|
yaml[line-length]:
.travis.yml#L62
Line too long (187 > 160 characters)
|
no-changed-when:
handlers/main.yml#L12
Commands should not change things if nothing needs doing.
|
schema[meta]:
meta/main.yml#L1
$.galaxy_info.min_ansible_version 2.7 is not of type 'string'. See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#using-role-dependencies
|
name[template]:
tasks/config-runner-container.yml#L2
Jinja templates should only be at the end of 'name'
|
name[template]:
tasks/config-runner-container.yml#L11
Jinja templates should only be at the end of 'name'
|
name[missing]:
tasks/config-runner-container.yml#L19
All tasks should be named.
|
jinja[spacing]:
tasks/config-runner-container.yml#L21
Jinja2 spacing could be improved: {{ conf_name_prefix }} runner[{{ (gitlab_runner_index|int) + 1 }}/{{ gitlab_runner_runners|length }}]: -> {{ conf_name_prefix }} runner[{{ (gitlab_runner_index | int) + 1 }}/{{ gitlab_runner_runners | length }}]:
|
jinja[spacing]:
tasks/config-runner-windows.yml#L20
Jinja2 spacing could be improved: {{ conf_name_prefix }} runner[{{ (gitlab_runner_index|int) + 1 }}/{{ gitlab_runner_runners|length }}]: -> {{ conf_name_prefix }} runner[{{ (gitlab_runner_index | int) + 1 }}/{{ gitlab_runner_runners | length }}]:
|
jinja[spacing]:
tasks/config-runner.yml#L21
Jinja2 spacing could be improved: {{ conf_name_prefix }} runner[{{ (gitlab_runner_index|int) + 1 }}/{{ gitlab_runner_runners|length }}]: -> {{ conf_name_prefix }} runner[{{ (gitlab_runner_index | int) + 1 }}/{{ gitlab_runner_runners | length }}]:
|
jinja[spacing]:
tasks/config-runners-container.yml#L21
Jinja2 spacing could be improved: conf[{{ (runner_config_index|int) + 1 }}/{{ runner_configs|length }}]: -> conf[{{ (runner_config_index | int) + 1 }}/{{ runner_configs | length }}]:
|
jinja[spacing]:
tasks/config-runners-windows.yml#L25
Jinja2 spacing could be improved: conf[{{ (runner_config_index|int) + 1 }}/{{ runner_configs|length }}]: -> conf[{{ (runner_config_index | int) + 1 }}/{{ runner_configs | length }}]:
|
jinja[spacing]:
tasks/config-runners.yml#L23
Jinja2 spacing could be improved: conf[{{ (runner_config_index|int) + 1 }}/{{ runner_configs|length }}]: -> conf[{{ (runner_config_index | int) + 1 }}/{{ runner_configs | length }}]:
|
jinja[spacing]:
tasks/config-runners.yml#L31
Jinja2 spacing could be improved: {{ gitlab_runner_show_config_diff|bool }} -> {{ gitlab_runner_show_config_diff | bool }}
|
jinja[spacing]:
tasks/global-setup.yml#L46
Jinja2 spacing could be improved: log_format = "{{ gitlab_runner_log_format|default("runner") }}" -> log_format = "{{ gitlab_runner_log_format | default("runner") }}"
|
jinja[spacing]:
tasks/line-config-runner-windows.yml#L4
Jinja2 spacing could be improved: ^(\s*)\[{{ section|regex_escape }}\]$ -> ^(\s*)\[{{ section | regex_escape }}\]$
|
jinja[spacing]:
tasks/line-config-runner-windows.yml#L4
Jinja2 spacing could be improved: {{ " " * (section.split(".")|length -1) }}[{{ section }}] -> {{ " " * (section.split(".") | length - 1) }}[{{ section }}]
|