File tree Expand file tree Collapse file tree
deploy/ansible/roles-db/4.1.3-oracle-data-guard/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 268268 - rman_duplicate.stdout is defined
269269 - not rman_duplicate.stdout is search("Finished Duplicate Db")
270270
271+
271272- name : " 4.1.3 Oracle Data Guard - Duplicate - Check standby database mounted"
272273 become_user : " {{ oracle_user_name }}"
273274 become : true
291292 ansible.builtin.set_fact :
292293 secondary_duplicated : " {{ 'PHYSICAL STANDBY:MOUNTED' in db_status.stdout or 'PHYSICAL STANDBY:READ ONLY' in db_status.stdout }}"
293294
294- - name : " 4.1.3 Oracle Data Guard - Duplicate - Display duplication status"
295- ansible.builtin.debug :
296- msg :
297- - " Database instance: {{ ansible_hostname }}"
298- - " Database duplicated: {{ secondary_duplicated }}"
299295
300296- name : " 4.1.3 Oracle Data Guard - Start Instance - Show SPFile location"
301297 become_user : " {{ oracle_user_name }}"
311307 args :
312308 chdir : " /etc/sap_deployment_automation/dataguard_scripts/"
313309
314- - name : " 4.1.3 Oracle Data Guard - Duplicate - Show SPFile location "
310+ - name : " 4.1.3 Oracle Data Guard - Duplicate - Display duplication status "
315311 ansible.builtin.debug :
316- msg : " SPFile location: {{ pfile_location.stdout }}"
312+ msg :
313+ - " RMAN DUPLICATE ran successfully."
314+ - " Database instance: {{ ansible_hostname }}"
315+ - " Database duplicated: {{ secondary_duplicated }}"
316+ - " SPFile location: {{ pfile_location.stdout }}"
317317
318318- name : " 4.1.3 Oracle Data Guard - Duplicate - Create standby initialization file"
319319 when : node_tier == "oracle-asm"
You can’t perform that action at this time.
0 commit comments