Ansible playbook to start or stops a Liberty Profile server in WebSphere deployment

0 votes
How do I write an ansible playbook to start or stops a Liberty Profile server in WebSphere deployment?
Oct 30, 2019 in Ansible by Hannah
• 18,520 points
2,075 views

1 answer to this question.

0 votes

Check this out:

- name: Start
  liberty_server: 
    state: started 
    libertydir: /usr/local/WebSphere/Liberty/ 
    name: server-01

- name: Stop
  liberty_server: 
    state: stopped 
    libertydir: /usr/local/WebSphere/Liberty/ 
    name: server-01

Ansible provides good enough modules for everything.

answered Oct 30, 2019 by Tanya

Related Questions In Ansible

0 votes
1 answer

ansible playbook to start and stop a WebSphere application

The below playbook should be good enough: - ...READ MORE

answered Oct 30, 2019 in Ansible by Tanya
6,934 views
0 votes
1 answer

How do I wget a file from web server using shell in the ansible playbook

Hey Ayaan, you could probably use this ...READ MORE

answered Jan 24, 2019 in Ansible by Anushri
4,155 views
0 votes
0 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
0 votes
1 answer

ansible playbook to create and remove a WebSphere Application Server Node Agent profile

This should workout: - name: Create profile_nodeagent: ...READ MORE

answered Oct 30, 2019 in Ansible by Tanishq
1,180 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP