control create db

This commit is contained in:
2025-09-05 10:18:39 -04:00
parent bddcf97d45
commit 075c525a5c
2 changed files with 7 additions and 6 deletions

View File

@@ -198,7 +198,7 @@
- dbca_setuprspfile
- name: Creating Oracle 19c Database
when: inventory_hostname in groups['dbservers']
when: inventory_hostname in groups['dbservers'] and create_database
remote_user: "{{ root_user }}"
become: yes
become_user: "{{ oracle_user }}"