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, 2019 in Ansible by Hannah
• 17,380 points
70 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, 2019 by Tanya

Related Questions In Ansible

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

reboot all web servers in Canada, 15 at a time. is that possible in Ansible?

Of course, that is possible @Neel, just ...READ MORE

answered Mar 5, 2019 in Ansible by Yogesh
44 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,400 points
297 views
0 votes
1 answer
0 votes
1 answer