Skip to content

ansible-lint of the collection #333

ansible-lint of the collection

ansible-lint of the collection #333

Manually triggered January 16, 2024 09:55
Status Success
Total duration 1m 26s
Artifacts

ansible-lint.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/configure_nwas_ascs_ers_postinstallation.yml#L106
Jinja2 spacing could be improved: SAP HA Pacemaker - (SAP HA Interface) Add {{sap_ha_pacemaker_cluster_nwas_abap_sid | lower }}adm user to 'haclient' group -> SAP HA Pacemaker - (SAP HA Interface) Add {{ sap_ha_pacemaker_cluster_nwas_abap_sid | lower }}adm user to 'haclient' group
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/configure_nwas_ascs_ers_postinstallation.yml#L111
Jinja2 spacing could be improved: SAP HA Pacemaker - (SAP HA Interface) Add {{sap_ha_pacemaker_cluster_nwas_abap_sid | lower }}adm user to 'haclient' group -> SAP HA Pacemaker - (SAP HA Interface) Add {{ sap_ha_pacemaker_cluster_nwas_abap_sid | lower }}adm user to 'haclient' group
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/construct_vars_common.yml#L29
Jinja2 spacing could be improved: {{ ( sap_ha_pacemaker_cluster_extra_packages + __sap_ha_pacemaker_cluster_sap_extra_packages + __sap_ha_pacemaker_cluster_platform_extra_packages ) | unique | select() }} -> {{ (sap_ha_pacemaker_cluster_extra_packages + __sap_ha_pacemaker_cluster_sap_extra_packages + __sap_ha_pacemaker_cluster_platform_extra_packages) | unique | select() }}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/construct_vars_common.yml#L42
Jinja2 spacing could be improved: {{ ( sap_ha_pacemaker_cluster_fence_agent_minimal_packages + sap_ha_pacemaker_cluster_fence_agent_packages + __sap_ha_pacemaker_cluster_fence_agent_packages ) | unique }} -> {{ (sap_ha_pacemaker_cluster_fence_agent_minimal_packages + sap_ha_pacemaker_cluster_fence_agent_packages + __sap_ha_pacemaker_cluster_fence_agent_packages) | unique }}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/construct_vars_stonith.yml#L10
Jinja2 spacing could be improved: {{ sap_ha_pacemaker_cluster_cluster_properties | combine({ 'stonith-enabled': false }) }} -> {{ sap_ha_pacemaker_cluster_cluster_properties | combine({'stonith-enabled': false}) }}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/construct_vars_stonith.yml#L37
Jinja2 spacing could be improved: {{ sap_ha_pacemaker_cluster_cluster_properties | combine({ 'stonith-enabled': false }) }} -> {{ sap_ha_pacemaker_cluster_cluster_properties | combine({'stonith-enabled': false}) }}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/include_construct_vip_resources.yml#L5
Jinja2 spacing could be improved: {{ { sap_ha_pacemaker_cluster_vip_hana_primary_resource_name: sap_ha_pacemaker_cluster_vip_hana_primary_ip_address | regex_replace('/.*', ''), sap_ha_pacemaker_cluster_vip_hana_secondary_resource_name: sap_ha_pacemaker_cluster_vip_hana_secondary_ip_address | regex_replace('/.*', '') } }} -> {{ {sap_ha_pacemaker_cluster_vip_hana_primary_resource_name: sap_ha_pacemaker_cluster_vip_hana_primary_ip_address | regex_replace('/.*', ''), sap_ha_pacemaker_cluster_vip_hana_secondary_resource_name: sap_ha_pacemaker_cluster_vip_hana_secondary_ip_address | regex_replace('/.*', '')} }}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/platform/include_vars_platform.yml#L14
Jinja2 spacing could be improved: {% for node in ansible_play_hosts_all -%}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/platform/include_vars_platform.yml#L23
Jinja2 spacing could be improved: {{ __sap_ha_pacemaker_cluster_register_ibmcloud_powervs_workspace_crn | replace("::","") | regex_replace(".*\:") }} -> {{ __sap_ha_pacemaker_cluster_register_ibmcloud_powervs_workspace_crn | replace("::", "") | regex_replace(".*\:") }}
jinja[spacing]: roles/sap_ha_pacemaker_cluster/tasks/platform/include_vars_platform.yml#L30
Jinja2 spacing could be improved: {% for node in ansible_play_hosts_all -%}