sap_ha_pacemaker_cluster: enh: SAP HAlib configuration #111
ansible-lint-sap_ha_pacemaker_cluster.yml
on: pull_request
ansible-lint
52s
Annotations
10 warnings
jinja[spacing]:
tasks/configure_netweaver_ascs_ers_postinstallation.yml#L106
Jinja2 spacing could be improved: SAP HA Pacemaker - (SAP HAlib) Add {{sap_ha_pacemaker_cluster_netweaver_sid | lower }}adm user to 'haclient' group -> SAP HA Pacemaker - (SAP HAlib) Add {{ sap_ha_pacemaker_cluster_netweaver_sid | lower }}adm user to 'haclient' group
|
jinja[spacing]:
tasks/configure_netweaver_ascs_ers_postinstallation.yml#L111
Jinja2 spacing could be improved: SAP HA Pacemaker - (SAP HAlib) Add {{sap_ha_pacemaker_cluster_netweaver_sid | lower }}adm user to 'haclient' group -> SAP HA Pacemaker - (SAP HAlib) Add {{ sap_ha_pacemaker_cluster_netweaver_sid | lower }}adm user to 'haclient' group
|
jinja[spacing]:
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]:
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]:
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]:
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]:
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]:
tasks/platform/include_vars_platform.yml#L14
Jinja2 spacing could be improved: {% for node in ansible_play_hosts_all -%}
|
jinja[spacing]:
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]:
tasks/platform/include_vars_platform.yml#L30
Jinja2 spacing could be improved: {% for node in ansible_play_hosts_all -%}
|