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,420 points
488 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
1,779 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
1,654 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
729 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
212 views