ansible playbook to create and remove a WebSphere application server deployment manager profile

0 votes
I am trying to write an ansible playbook to create and remove a WebSphere application server deployment manager profile. Can somebody give a sample playbook for it?

Thanks!
Oct 30 in Ansible by Hannah
• 16,590 points
59 views

1 answer to this question.

0 votes

The below gives an example of creating and removing WebSphere Application Server Deployment Manager Profile. Check it out:

- name: Create
  profile_dmgr: 
    state: present 
    wasdir: /usr/local/WebSphere/AppServer/ 
    name: dmgr 
    cell_name: devCell 
    host_name: localhost 
    node_name: devcell-dmgr 
    username: admin 
    password: allyourbasearebelongtous

- name: Remove
  profile_dmgr: 
    state: absent 
    wasdir: /usr/local/WebSphere/AppServer/ 
    name: dmgr
answered Oct 30 by Tanmay

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

Ansible Playbook to create a Load Balancer

Hey @Himanshu, you can try something like ...READ MORE

answered Mar 25 in Ansible by Jack
299 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
0 votes
1 answer