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 in Ansible by Hannah
• 16,570 points
46 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 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 in Ansible by Tanya
79 views
0 votes
1 answer
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
216 views
0 votes
1 answer
0 votes
1 answer