Skip to content

Commit

Permalink
oraswgi_install: fixed wrong script task to shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Sep 12, 2022
1 parent a8cd687 commit 3eef7d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/261-oraswgi_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- 'oraswgi_install: fixed wrong script task to shell (#261)'
6 changes: 4 additions & 2 deletions roles/oraswgi_install/tasks/19.3.0.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,11 @@
# do not start root.sh on all nodes in parallel
# => sleep
- name: install_home_gi | Run root script after installation (Other Nodes)
ansible.builtin.script: |
/usr/bin/sleep {{ item.0 * 60 }}
ansible.builtin.shell: |
sleep {{ item.0 * 60 }}
{{ oracle_home_gi }}/root.sh
args:
executable: /usr/bin/bash
become: true
with_indexed_items: "{{ groups[hostgroup] }}"
tags:
Expand Down
6 changes: 4 additions & 2 deletions roles/oraswgi_install/tasks/21.3.0.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,11 @@
# do not start root.sh on all nodes in parallel
# => sleep
- name: install_home_gi | Run root script after installation (Other Nodes)
ansible.builtin.script: |
/usr/bin/sleep {{ item.0 * 60 }}
ansible.builtin.shell: |
sleep {{ item.0 * 60 }}
{{ oracle_home_gi }}/root.sh
args:
executable: /usr/bin/bash
become: true
with_indexed_items: "{{ groups[hostgroup] }}"
tags:
Expand Down

0 comments on commit 3eef7d3

Please sign in to comment.