Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sap_ swpm: Prevent task "SAP SWPM Deployment - Finished" from failing if sap_swpm_sid or sap_swpm_pas_instance_nr not defined. #746

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

rob0d
Copy link
Contributor

@rob0d rob0d commented May 31, 2024

This happens when using advanced mode (e.g. Diag Agent installation) and sap_swpm_* variables are not defined as they are not needed. These two are used to display the status of SWPM after it finished and can fail the whole playbook even though SWPM finished correctly.

failing if sap_swpm_sid or sap_swpm_pas_instance_nr not defined.
@rob0d rob0d changed the title Prevent task "SAP SWPM Deployment - Finished" from failing if sap_swpm_sid or sap_swpm_pas_instance_nr not defined. sap_ swpm:Prevent task "SAP SWPM Deployment - Finished" from failing if sap_swpm_sid or sap_swpm_pas_instance_nr not defined. May 31, 2024
@rob0d rob0d changed the title sap_ swpm:Prevent task "SAP SWPM Deployment - Finished" from failing if sap_swpm_sid or sap_swpm_pas_instance_nr not defined. sap_ swpm: Prevent task "SAP SWPM Deployment - Finished" from failing if sap_swpm_sid or sap_swpm_pas_instance_nr not defined. May 31, 2024
@marcelmamula
Copy link
Contributor

@berndfinger This looks like reasonable change by defaulting them, instead of adding whole conditional for final debug message.

@berndfinger berndfinger self-requested a review June 10, 2024 14:38
@berndfinger berndfinger self-requested a review June 24, 2024 11:33
Copy link
Member

@berndfinger berndfinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@berndfinger berndfinger requested a review from Wabri June 24, 2024 11:34
@berndfinger berndfinger merged commit cad4d82 into sap-linuxlab:dev Jun 26, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants