Skip to content

ansible-lint of the collection #318

ansible-lint of the collection

ansible-lint of the collection #318

Triggered via schedule October 9, 2023 13:39
Status Success
Total duration 2m 34s
Artifacts

ansible-lint.yml

on: schedule
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 -%}