diff --git a/playbooks/oracle_audit_replication_management/oracle_audit_replication_management/tasks/restart_tasks.yml b/playbooks/oracle_audit_replication_management/oracle_audit_replication_management/tasks/restart_tasks.yml index fbedfd02..ab1d7dc0 100644 --- a/playbooks/oracle_audit_replication_management/oracle_audit_replication_management/tasks/restart_tasks.yml +++ b/playbooks/oracle_audit_replication_management/oracle_audit_replication_management/tasks/restart_tasks.yml @@ -3,6 +3,8 @@ - name: Restore Archivelogs script: restore_archivelogs.sh delegate_to: "{{ groups[source_endpoint_host][0] }}" + become: true + become_user: oracle environment: OEM_SECRET_ROLE: "{{ oem_secret_role }}" CATALOG_DB: "{{ catalog }}"