cant start websphere Liberty using ansible

45 views
Skip to first unread message

visar

unread,
Nov 9, 2018, 9:39:00 AM11/9/18
to Ansible Project

Hi Experts,

Really appreciate your guidance here..

I have setup a Websphere liberty application in Linux environment, there I am doing commandline execution and i want to automate that process through ansible now 

After installing Websphere Liberty, when i try to start liberty server using the "/opt/IBM/JazzTeamserver/server/server.startup.sh" locally within the server its getting started and creating a "clm" liberty profile and its configuration files (server.xml and other configuration files) and the https://myserverip:9443/ is working fine.

But When i try to remotely call and execute the server.startup script using ansible playbook, its getting executed successfully and creating the "clm" liberty profile but suddenly its getting stopped. its showing as liberty server is not started

How can i resolve the issue here below is my playbook which is not working properly here..

Playbook.

    ---
      - name : start the Liberty Server
        hosts: IHS
        tasks:
          - name: for starting the libery server
            command: /opt/path to myappserver/server.startup

Thad Guidry

unread,
Nov 9, 2018, 9:50:10 AM11/9/18
to ansible...@googlegroups.com
Try adding debugger to see if it shows you more information...



--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4024d611-1c5e-4776-9f84-12dc7b2e968b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages