redhat-sap / sap-hana-deployment

Deploys SAP HANA on the given hosts
Apache License 2.0
13 stars 20 forks source link

The task "Evaluate if 'sapsys' group already exists" should never fail #43

Closed berndfinger closed 1 year ago

berndfinger commented 2 years ago

If the command "set -o pipefail && grep sapsys /etc/group | cut -d ":" -f 3" fails, which will happen if the sapsys group does not exist, the task will fail and the role aborts. However, we want the role to continue so that we can reach the task "Set fact for Group ID when 'sapsys' group does exist" to get a new group id.