File tree Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1313# Stop sapstartsrv
1414- name : SAPstartsrv - Stop sapstartsrv {{ passed_sap_sid }}-{{ passed_sap_nr }}
1515 ansible.builtin.shell : |
16- source ~/.profile && cdexe ; sapcontrol -nr {{ passed_sap_nr }} -function StopService {{ passed_sap_sid }}
16+ source ~/.profile ; sapcontrol -nr {{ passed_sap_nr }} -function StopService {{ passed_sap_sid }}
1717 args :
1818 executable : /bin/bash
1919 become : true
2525# Start sapstartsrv
2626- name : SAPstartsrv - Start sapstartsrv {{ passed_sap_sid }}-{{ passed_sap_nr }}
2727 ansible.builtin.shell : |
28- source ~/.profile && cdexe ; sapcontrol -nr {{ passed_sap_nr }} -function StartService {{ passed_sap_sid }}
28+ source ~/.profile ; sapcontrol -nr {{ passed_sap_nr }} -function StartService {{ passed_sap_sid }}
2929 args :
3030 executable : /bin/bash
3131 become : true
Original file line number Diff line number Diff line change 66# Check sapstartsrv
77- name : SAPstartsrv - Check sapstartsrv
88 ansible.builtin.shell : |
9- source ~/.profile && cdexe ; sapcontrol -nr {{ passed_sap_nr }} -function GetSystemInstanceList
9+ source ~/.profile ; sapcontrol -nr {{ passed_sap_nr }} -function GetSystemInstanceList
1010 args :
1111 executable : /bin/bash
1212 become : true
Original file line number Diff line number Diff line change 1717 source ~/.profile && sapcontrol -nr {{ passed_sap_nr }} -function {{ vars['sap_control_' + funct_type] }}
1818 args :
1919 executable : /bin/bash
20- warn : false
2120 become : true
2221 become_user : " {{ passed_sap_sid | lower }}adm"
2322 register : sapcontrol_status
Original file line number Diff line number Diff line change 33- name : SAP Profile Update - Get Instance Profile
44 ansible.builtin.shell : |
55 set -o pipefail
6- source ~/.profile && cdexe ; sapcontrol -nr {{ sap_update_profile_instance_nr }} -function ParameterValue SAPPROFILE | grep profile
6+ source ~/.profile ; sapcontrol -nr {{ sap_update_profile_instance_nr }} -function ParameterValue SAPPROFILE | grep profile
77 args :
88 executable : /bin/bash
99 become : true
1010 become_user : " {{ sap_update_profile_sid | lower }}adm"
1111 register : get_instance_profile
1212
13- - name : setup facts
13+ - name : SAP Profile Update - Setup facts
1414 ansible.builtin.set_fact :
1515 sap_update_profile_default_profile_file_path : " /sapmnt/{{ sap_update_profile_sid }}/profile/DEFAULT.PFL"
1616 sap_update_profile_instance_profile_file_path : " {{ get_instance_profile.stdout }}"
Original file line number Diff line number Diff line change 4242
4343 - name : Yum clean all
4444 ansible.builtin.command : " yum clean all"
45- args :
46- warn : false
4745
4846 - name : Yum search sap-
4947 ansible.builtin.command : " yum -y search sap-"
You can’t perform that action at this time.
0 commit comments