Skip to content

Commit

Permalink
sap_ha_install_anydb_ibmdb2: remove slurp comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-freeman committed Jul 17, 2024
1 parent 734ee52 commit d338b54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roles/sap_ha_install_anydb_ibmdb2/tasks/passwordless_ssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,12 @@
register: __sap_ha_install_anydb_ibmdb2_secondary_ssh_fingerprint
when: sap_ha_install_anydb_ibmdb2_hostname_secondary == inventory_hostname_short

# Use slurp Ansible Module instead of lookup('ansible.builtin.file','') which will error "The 'file' lookup had an issue accessing the file"
- name: SAP HA AnyDB - IBM Db2 HADR - Get contents of SSH Public Key for SAP AnyDB Primary
ansible.builtin.slurp:
src: "/root/.ssh/anydb_ibmdb2_hadr_{{ inventory_hostname_short }}.pub"
register: __sap_ha_install_anydb_ibmdb2_primary_pubkey
when: sap_ha_install_anydb_ibmdb2_hostname_primary == inventory_hostname_short

# Use slurp Ansible Module instead of lookup('ansible.builtin.file','') which will error "The 'file' lookup had an issue accessing the file"
- name: SAP HA AnyDB - IBM Db2 HADR - Get contents of SSH Public Key for SAP AnyDB Secondary node
ansible.builtin.slurp:
src: "/root/.ssh/anydb_ibmdb2_hadr_{{ inventory_hostname_short }}.pub"
Expand Down

0 comments on commit d338b54

Please sign in to comment.