Skip to content

Commit 3eef7d3

Browse files
committed
oraswgi_install: fixed wrong script task to shell
1 parent a8cd687 commit 3eef7d3

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- 'oraswgi_install: fixed wrong script task to shell (#261)'

roles/oraswgi_install/tasks/19.3.0.0.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,11 @@
162162
# do not start root.sh on all nodes in parallel
163163
# => sleep
164164
- name: install_home_gi | Run root script after installation (Other Nodes)
165-
ansible.builtin.script: |
166-
/usr/bin/sleep {{ item.0 * 60 }}
165+
ansible.builtin.shell: |
166+
sleep {{ item.0 * 60 }}
167167
{{ oracle_home_gi }}/root.sh
168+
args:
169+
executable: /usr/bin/bash
168170
become: true
169171
with_indexed_items: "{{ groups[hostgroup] }}"
170172
tags:

roles/oraswgi_install/tasks/21.3.0.0.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,11 @@
162162
# do not start root.sh on all nodes in parallel
163163
# => sleep
164164
- name: install_home_gi | Run root script after installation (Other Nodes)
165-
ansible.builtin.script: |
166-
/usr/bin/sleep {{ item.0 * 60 }}
165+
ansible.builtin.shell: |
166+
sleep {{ item.0 * 60 }}
167167
{{ oracle_home_gi }}/root.sh
168+
args:
169+
executable: /usr/bin/bash
168170
become: true
169171
with_indexed_items: "{{ groups[hostgroup] }}"
170172
tags:

0 commit comments

Comments
 (0)