logic that creates or removes a Liberty server at the runtime - Ansible for WebSphere deployment

0 votes
I have deployed WebSphere. Now I need a logic that creates or removes a Liberty server at the runtime. How do I get this done?
Oct 30 in Ansible by Hannah
• 16,300 points
27 views

1 answer to this question.

0 votes

You can use the ansible module called profile_liberty for this:

- name: Create
  profile_liberty: 
    state: present 
    libertydir: /usr/local/WebSphere/Liberty/ 
    name: server01

- name: Remove
  profile_liberty: 
    state: absent 
    libertydir: /usr/local/WebSphere/Liberty/ 
    name: server01
answered Oct 30 by Tanya

Related Questions In Ansible

0 votes
1 answer
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
213 views
0 votes
1 answer
0 votes
1 answer