How to deploy war file into the Websphere using ansible playbook

+1 vote
Jun 10, 2020 in Ansible by M
• 150 points
2,393 views

1 answer to this question.

0 votes

Hi@M,

You can use the below-given example.

- 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 Jun 29, 2020 by MD
• 95,460 points

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
4,155 views
0 votes
1 answer

devops , how to create user using ansible playbook

root doesn't need a password to switch ...READ MORE

answered Jul 16, 2018 in Ansible by Kalgi
• 2,680 points
1,134 views
0 votes
1 answer

How to encrypt and existing file using Ansible Vault?

Hey @Kyraa, to encrypt an existing file ...READ MORE

answered Jan 29, 2019 in Ansible by Kavya
3,452 views
0 votes
1 answer

How to create a new encrpted file using Ansible Vault?

If you are creating a new file ...READ MORE

answered Jan 29, 2019 in Ansible by Kyraa
1,026 views
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

How to configure httpd web server using Ansible Playbook?

Hi@akhtar, You need to write one program file ...READ MORE

answered Jul 30, 2020 in Ansible by MD
• 95,460 points
3,415 views
0 votes
1 answer

How to overwrite the content of a file in remote systems using Ansible playbook?

Hi@akhtar, You can find one argument in the ...READ MORE

answered Aug 2, 2020 in Ansible by MD
• 95,460 points
14,403 views
0 votes
1 answer

How to add multiple lines in a file using Ansible playbook?

Hi@akhtar, You can update your file using lineinfile ...READ MORE

answered Sep 16, 2020 in Ansible by MD
• 95,460 points
26,629 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