oravirt / ansible-oracle-modules

Oracle modules for Ansible
MIT License
214 stars 160 forks source link

oracle_db parameter honorControlFileInitParam #73

Open matteovarani opened 6 years ago

matteovarani commented 6 years ago

From 12.2 onward dbca ignore parameter for controlfile position (see for example https://www.spotonoracle.com/?cat=14). For take into account controfile position you must use -honorControlFileInitParam. Here the code I'd like to add:

command = "%s/bin/dbca -createDatabase -silent " % (oracle_home)
if major_version > '12.1':
    command += ' -honorControlFileInitParam '

Thanks