---
- name: Enable SSL on WebLogic
hosts: weblogic_servers
tasks:
- name: Execute WLST script
win_command: >
C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin\wlst.cmd
-i -c "connect('weblogic','P@$$w0rd','172.17.16.49:7001');
execfile('C:\Users\sakir\Desktop\script.py')"
On Thursday, July 20, 2023 at 1:19:37 AM UTC-7 malek sakir wrote:
> In my environment we have deployed oracle WebLogic 12c on windows host
> using of wlst.cmd we have perform some tasks
> wlst.cmd path is
> C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin\wlst.cmd
> first i am go to this path and open wlst.cmd
> then i am connect my oracle WebLogic console using this command:
> connect('weblogic','P@$$w0rd','172.17.16.49:7001')
> then i am execute python script using this command:
> execfile('C:\Users\sakir\Desktop\script.py')
> and my task is successfully done
> but I have multiple server for this same process so how i can done this
> tasks using ansible playbook.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1fa36bba-9bff-4d58-b595-10bccf819cf8n%40googlegroups.com.