Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
wullub committed Sep 19, 2023
1 parent 36f455e commit 9478cdc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 8 additions & 0 deletions ansible/roles/oracle-db-standby-setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
- always
when: db_primary_name is defined and db_standby_name is defined

- name: Add generate sas token script
ansible.builtin.template:
src: "update-db-az-sas-token.sh.j2"
dest: "/usr/local/bin/update-db-az-sas-token.sh"
owner: oracle
group: oinstall
mode: 0755

- import_tasks: prepare_primary_for_standby.yml
tags:
- oracle-db-standby-setup-on-primary
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
---
- name: Setup Primary database for HA
block:
- name: Add generate sas token script
ansible.builtin.template:
src: "update-db-az-sas-token.sh.j2"
dest: "/usr/local/bin/update-db-az-sas-token.sh"
owner: oracle
group: oinstall
mode: 0755

block:
- name: Copy setup files for execution
ansible.builtin.template:
src: "{{ item }}.j2"
Expand Down

0 comments on commit 9478cdc

Please sign in to comment.