ansible playbook to create and remove a WebSphere Application Server Node Agent profile

0 votes
I am trying to write an ansible playbook to create and remove a WebSphere Application Server Node Agent profile. Can somebody give a sample playbook for it?

Thanks!
Oct 30, 2019 in Ansible by Hannah
• 18,520 points
1,180 views

1 answer to this question.

0 votes

This should workout:

- name: Create
  profile_nodeagent: 
    state: present 
    wasdir: /usr/local/WebSphere/AppServer/ 
    name: nodeagent 
    cell_name: devCellTmp 
    host_name: localhost 
    node_name: node1 
    username: admin 
    password: ***
    dmgr_host: localhost 
    dmgr_port: 8879 
    federate: true

- name: Remove
  profile_dmgr: 
    state: absent 
    wasdir: /usr/local/WebSphere/AppServer/ 
    name: nodeagent
answered Oct 30, 2019 by Tanishq

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer

Ansible Playbook to create a Load Balancer

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

answered Mar 25, 2019 in Ansible by Jack
2,544 views
0 votes
1 answer
+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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
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
6,933 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP