Skip to content

Commit

Permalink
sap_ha_install_anydb_ibmdb2: fix missing lint risky pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-freeman committed Jul 19, 2024
1 parent 5f8f7f0 commit 55a097a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
# - no-changed-when: crmsh command equivalent to db2cm
- name: SAP HA AnyDB - IBM Db2 HADR (IBM Cloud) - Primary Node - Identify target IBM Db2 resource clone name # noqa no-changed-when
ansible.builtin.shell: |
crm config show type:primitive | tr '\n' ' ' | sed 's| primitive |\n|g' | grep dbname | sed 's| db2hadr.*||'
set -o pipefail && crm config show type:primitive | tr '\n' ' ' | sed 's| primitive |\n|g' | grep dbname | sed 's| db2hadr.*||'
register: __sap_ha_install_anydb_ibmdb2_discover_pcmk_resource_name
when:
- sap_ha_install_anydb_ibmdb2_hostname_primary == inventory_hostname_short
Expand Down

0 comments on commit 55a097a

Please sign in to comment.