Skip to content

Commit

Permalink
revert role changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Apr 11, 2024
1 parent 63cc21e commit b830550
Showing 1 changed file with 15 additions and 33 deletions.
48 changes: 15 additions & 33 deletions ansible/roles/oracle-19c-client/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,24 @@
---
# - name: debug value of {{ oracle_home }}
# debug:
# var: oracle_home

- name: print value of {{ oracle_home }}
ansible.builtin.debug:
msg: "{{ oracle_home }}"

- name: Check oracle 19c Client Software installed
ansible.builtin.stat:
path: "{{ oracle_home }}/bin/sqlplus"
register: client_software_installed

- name: print value of registered variable client_software_installed
ansible.builtin.debug:
var: client_software_installed

# - block:
# - import_tasks: download_software.yml
# tags:
# - amibuild
# - oracle_client_software_download

# - import_tasks: install_client.yml
# tags:
# - amibuild
# - oracle_client_install

# - import_tasks: cleanup.yml
# tags:
# - ec2provision
# - oracle_client_cleanup
- block:
- import_tasks: download_software.yml
tags:
- amibuild
- oracle_client_software_download

# # block
# when: not client_software_installed.stat.exists
- import_tasks: install_client.yml
tags:
- amibuild
- oracle_client_install

- name: just download the client software
import_tasks: download_software.yml
- import_tasks: cleanup.yml
tags:
- ec2provision
- oracle_client_cleanup

- name: just install the client software
import_tasks: install_client.yml
# block
when: not client_software_installed.stat.exists

0 comments on commit b830550

Please sign in to comment.