diff --git a/deploy/ansible/playbook_04_00_01_db_ha.yaml b/deploy/ansible/playbook_04_00_01_db_ha.yaml index 925bf8d8ea..d43bdd440a 100644 --- a/deploy/ansible/playbook_04_00_01_db_ha.yaml +++ b/deploy/ansible/playbook_04_00_01_db_ha.yaml @@ -231,6 +231,9 @@ tier: ha primary_instance_name: "{{ ansible_play_hosts_all[0] }}" # Setting up Primary Instance Name secondary_instance_name: "{{ ansible_play_hosts_all[1] }}" # Setting up Secondary Instance Name + when: + - database_high_availability + - ansible_play_hosts_all | length >= 2 - name: "Oracle Data Guard Setup" when: