SAP software provisioning manager (sapinst) should be run with umask 022 (#402)
The custom_umask variable allowes overrides of this default setting
This commit is contained in:
Родитель
59685c8fc7
Коммит
d0b41974c9
|
@ -106,6 +106,7 @@
|
|||
|
||||
- name: "DB2 Install - SAPINST DB2 Install"
|
||||
ansible.builtin.shell: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.dbl }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
|
||||
- name: "SAP DB2 Install"
|
||||
ansible.builtin.shell: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.dblha }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
|
||||
- name: "SAP DB2 Install - Secondary DB"
|
||||
ansible.builtin.shell: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.dblsby }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
|
@ -115,6 +115,7 @@
|
|||
|
||||
- name: "User Creation: SAP OS USERS and Group Creation {{ sid_to_be_deployed }}"
|
||||
ansible.builtin.shell: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.generic }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
|
@ -224,6 +224,7 @@
|
|||
|
||||
- name: "RESCUE - SCS HA Install: SAPINST"
|
||||
ansible.builtin.command: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.scs_ha }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
|
@ -114,12 +114,6 @@
|
|||
loop:
|
||||
- { path: '/usr/sap/{{ sap_sid | upper }}/ERS{{ ers_instance_number }}' }
|
||||
|
||||
- name: "ERS Install: SAP ERS install command"
|
||||
ansible.builtin.debug:
|
||||
msg: ./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }}
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.ers_ha }} SAPINST_SKIP_DIALOGS=true SAPINST_START_GUISERVER=false SAPINST_USE_HOSTNAME={{ ers_virtual_hostname }}
|
||||
verbosity: 4
|
||||
|
||||
# *====================================4=======================================8
|
||||
# SAP ERS: Install
|
||||
# 2230669 - System Provisioning Using a Parameter Input File
|
||||
|
@ -186,6 +180,7 @@
|
|||
|
||||
- name: "RESCUE - ERS Install: SAPInst"
|
||||
ansible.builtin.shell: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.ers_ha }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
|
@ -132,6 +132,7 @@
|
|||
|
||||
- name: "SAP Web Dispatcher Install"
|
||||
ansible.builtin.command: |
|
||||
umask {{ custom_umask | default('022') }};
|
||||
./sapinst SAPINST_INPUT_PARAMETERS_URL={{ dir_params }}/{{ sap_inifile }} \
|
||||
SAPINST_EXECUTE_PRODUCT_ID={{ bom.product_ids.web }} \
|
||||
SAPINST_SKIP_DIALOGS=true \
|
||||
|
|
Загрузка…
Ссылка в новой задаче