Skip to content

Commit b18212d

Browse files
committed
Fix quoting style in shell commands for killing Enqueue Server processes
1 parent 93af7fc commit b18212d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/roles/ha_scs/tasks/kill-enqueue-server.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
test_execution_hostname: "{{ hostvars[cluster_status_pre.ascs_node].ansible_hostname }}"
3535

3636
- name: "Test Execution: Check for ENSA version"
37-
ansible.builtin.shell: pgrep -f "enq.sap{{ sap_sid | upper }}" | wc -l
37+
ansible.builtin.shell: pgrep -f 'enq.sap{{ sap_sid | upper }}' | wc -l
3838
register: ensa2_check
3939
failed_when: false
4040

4141
- name: "Test Execution: Kill Enqueue Server Process (ENSA1)"
42-
ansible.builtin.shell: pgrep -f "en.sap{{ sap_sid | upper }}" | xargs kill -9
42+
ansible.builtin.shell: pgrep -f 'en.sap{{ sap_sid | upper }}' | xargs kill -9
4343
register: kill_er_result
4444
failed_when: false
4545
when: ensa2_check.stdout == "0"
4646

4747
- name: "Test Execution: Kill Enqueue Server Process (ENSA2)"
48-
ansible.builtin.shell: pgrep -f "enq.sap{{ sap_sid | upper }}" | xargs kill -9
48+
ansible.builtin.shell: pgrep -f 'enq.sap{{ sap_sid | upper }}' | xargs kill -9
4949
register: kill_en_result
5050
failed_when: false
5151
when: ensa2_check.stdout != "0"

0 commit comments

Comments
 (0)