Also as an FYI, normally an rc of 259 means the process is still active [1] which tells me the installer is still running in the background. I do remember seeing an issue with the Oracle installer not working in Ansible and exits straight away and there's a special command line argument or response file value you must set for it to wait until the installer is complete. Have a look at the setup.exe documentation and see what you can find.
This may not be the case with the Oracle installer as the code could mean something else but this scenario does sound familiar. [1] https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getexitcodeprocess -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f78ce73f-aec7-4bec-a2a2-373582b45a4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.