ansible playbook to start and stop a WebSphere application

0 votes
I was looking for an ansible playbook to start and stop a WebSphere application. Any help will be appreciated...

Thanks you!
Oct 30 in Ansible by Hannah
• 16,570 points
80 views

1 answer to this question.

0 votes

The below playbook should be good enough:

- name: Start
  server: 
    state: started 
    wasdir: /usr/local/WebSphere/AppServer/ 
    name: server-01

- name: Stop
  server: 
    state: stopped 
    wasdir: /usr/local/WebSphere/AppServer/ 
    name: server-01
answered Oct 30 by Tanya

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Ansible playbook to wget a file

Hey @Celia, one recommendation, try not using ...READ MORE

answered Jan 16 in Ansible by Vaishu
1,853 views
+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