Skip to content

Commit

Permalink
Merge pull request #871 from berndfinger/issue-870-sample-playbook-sa…
Browse files Browse the repository at this point in the history
…p_hana_preconfigure_exec.yml

Some tweaks for sample playbook sap hana preconfigure exec.yml
  • Loading branch information
berndfinger committed Sep 23, 2024
2 parents 7243526 + 109c3a2 commit d547173
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions playbooks/sap_hana_preconfigure_exec.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
---
##
# Call this playbook only with all variables defined.
Expand All @@ -7,17 +8,17 @@
# sap_hana_group: name of group in inventory - defaults to localhost if not set
# sap_domain: SAP domain - defaults to ansible_domain if not set, but must not be empty
#
# for redhat.sap_install.sap_general_preconfigure
# For sap_general_preconfigure:
# sap_general_preconfigure_modify_etc_hosts: defaults to true
# sap_general_preconfigure_update: defaults to false
# sap_general_preconfigure_fail_if_reboot_required: defaults to true
#
# for redhat.sap_install.sap_hana_preconfigure
# For sap_hana_preconfigure:
# sap_hana_preconfigure_update: defaults to false
# sap_hana_preconfigure_fail_if_reboot_required: defaults to true
# sap_hana_preconfigure_reboot_ok: defaults to false
#
# Please note: if the variable sap_playbook_parameter_confirm is set to true, the playbook
# Note: If the variable sap_playbook_parameter_confirm is set to true, the playbook
# stops execution and waits for an input. If you want to run the playbook in
# non-interactive mode, leave the variable unset or set to false.

Expand All @@ -28,7 +29,7 @@
- name: Ansible Role Configuration
ansible.builtin.debug:
msg: |-
The Hana setup runs with the following configuration
The SAP HANA preconfiguration runs with the following configuration:
- 'Hostname : {{ sap_hostname | d(ansible_hostname) }}'
- 'IP Address : {{ sap_ip | d(ansible_default_ipv4.address) }}'
- 'Domain : {{ (sap_domain | d('') | length > 0) | ternary(sap_domain, ansible_domain) }}'
Expand Down

0 comments on commit d547173

Please sign in to comment.