Skip to content

Commit

Permalink
Resolved issue #23 (Directory /opt/app/12.1.0/grid changed after succ…
Browse files Browse the repository at this point in the history
…essful root.sh in CRS configuration):

1. Added add_new_install_dir.yml to:
   1. Check to see if directory exists
   1. Only create a new directory, not change the ownership of an existing one
1. Updated install_dir.yml to:
   1. Add directory /opt/app first
   1. Include add_new_install_dir.yml for each required directory
  • Loading branch information
dfhawthorne committed May 2, 2018
1 parent 000f150 commit 5a5fa55
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions roles/oracle_user/tasks/install_dir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@


- name: "Creating the Oracle Home and Oracle Base Directory"
file:
path: "/opt/{{ item }}"
owner: oracle
group: "{{ oracle_user.install_group.name }}"
state: directory
include_tasks: add_new_install_dir.yml
with_items:
- app/12.1.0/grid
- app/grid
- app/oracle
- /opt/app
- /opt/app/12.1.0/grid
- /opt/app/grid
- /opt/app/oracle
loop_control:
loop_var: install_dir
tags: add_new_install_dir
...

0 comments on commit 5a5fa55

Please sign in to comment.