MQTT role #205
Annotations
10 errors and 8 warnings
ignore-errors:
roles/mirror/tasks/main.yml#L130
Use failed_when and specify error conditions instead of using ignore_errors.
|
yaml[truthy]:
roles/mirror/tasks/main.yml#L139
Truthy value should be one of \[false, true]
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L4
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbix_agent2)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L6
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbix_version_patch)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L9
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbox_agent_get_package)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L48
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: selinux_allow_zabbix_run_sudo)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L53
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbix_apt_force_apt_get)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L54
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbix_apt_install_recommends)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L61
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbix_api_server_host)
|
var-naming[no-role-prefix]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/defaults/main.yml#L62
Variables names from within roles should use zabbix_agent_ as a prefix. (vars: zabbix_api_login_user)
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/Docker.yml#L13
Jinja2 spacing could be improved: {{ zabbix_agent_docker_volumes + [ volume_mount ] }} -> {{ zabbix_agent_docker_volumes + \[volume_mount] }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/Windows.yml#L86
Jinja2 spacing could be improved: {{ (item.item.stat.path == zabbix_win_exe_path ) | ternary(zabbix_win_svc_name,zabbix2_win_svc_name) }} -> {{ (item.item.stat.path == zabbix_win_exe_path) | ternary(zabbix_win_svc_name, zabbix2_win_svc_name) }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/api.yml#L17
Jinja2 spacing could be improved: {{ zabbix_agent_ipmi_password| default(omit) }} -> {{ zabbix_agent_ipmi_password | default(omit) }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/api.yml#L50
Jinja2 spacing could be improved: {{ item.macro_type|default('text') }} -> {{ item.macro_type | default('text') }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/main.yml#L29
Jinja2 spacing could be improved: {{ zabbix_agent_tlsaccept is defined | ternary(zabbix_agent_tlsaccept, 'unencrypted')}} -> {{ zabbix_agent_tlsaccept is defined | ternary(zabbix_agent_tlsaccept, 'unencrypted') }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/main.yml#L29
Jinja2 spacing could be improved: {{ zabbix_agent_tlsconnect is defined | ternary(zabbix_agent_tlsconnect, 'unencrypted')}} -> {{ zabbix_agent_tlsconnect is defined | ternary(zabbix_agent_tlsconnect, 'unencrypted') }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/main.yml#L40
Jinja2 spacing could be improved: {{ '443' if zabbix_api_use_ssl|bool else '80' }} -> {{ '443' if zabbix_api_use_ssl | bool else '80' }}
|
jinja[spacing]:
~/.ansible/collections/ansible_collections/community/zabbix/roles/zabbix_agent/tasks/main.yml#L47
Jinja2 spacing could be improved: {{ zabbix_agent_apt_priority | default (omit) }} -> {{ zabbix_agent_apt_priority | default(omit) }}
|