Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Automate database imports from Ansible Tower/AWX

User_M6VEUApr 1 2021

Hi all :)
I hope someone can point me in the right direction.
We are trying to automate database imports from Ansible Tower/AWX.
The script works fine when started from a linux server. Users can look into the dump directory for the available dumps and pass the name of the dump to the import script.
We want to do the same but from Ansible Tower/AWX because users won’t be able login the linux servers anymore. The import script works fine when the dumpfile is known before the launch of the playbook. We can make a separate playbook that does a simple “ls –l” from the import dumps directory so the users can check first what the available dumps are. But we would like to combine both playbooks maybe in a workflow.
We would like to have a survey in de import template/workflow that shows the available dumps where the users can choose from.
Does anyone know how to dynamically generate the dump names in surveys?
Thanks,
Mina

Comments
Post Details
Added on Apr 1 2021
0 comments
186 views