it will executing but skipping the tomcat and Jenkins

0 votes
---
  - hosts: all
    become: yes
    tasks:
      - name: installing tools
        yum: name=['java','git'] state=absent

      - name: DownloadFiles
        get_url:
          url: http://mirrors.jenkins.io/war-stable/latest/jenkins.war

          url: http://apachemirror.wuchna.com/tomcat/tomcat-8/v8.5.43/bin/apache-tomcat-8.5.43.tar.gz

          url: https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.9.1.zip

          url: "http://mirrors.estointernet.in/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz"
          dest: /home/ansadmin/
          dest:  /home/ansadmin/
      - name: Unarchive
        unarchive:
          src: /home/ansadmin/apache-maven-3.6.1-bin.tar.gz
          dest: /home/ansadmin
          remote_src: yes
Aug 17, 2019 in Ansible by Rajendra
• 510 points
593 views
can you please elaborate your issue?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Ansible

0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 7,340 points
6,854 views
+1 vote
2 answers

What is the difference between ansible playbook and roles?

Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE

answered Jan 21, 2020 in Ansible by vivek
• 530 points
21,753 views
+1 vote
2 answers
0 votes
1 answer

How do I get an ENV variable and store it into a local variable - Ansible

Hey @Ninja, that is possible. What you ...READ MORE

answered Jan 24, 2019 in Ansible by Thomas
2,535 views
0 votes
1 answer
0 votes
1 answer

What is the difference between the host file and an inventory file in ansible?

Actually both are same. hosts file is ...READ MORE

answered Feb 12, 2019 in Ansible by Amith
• 140 points
7,921 views
0 votes
1 answer

What are the SCM tools supported by jenkins?

Hey @Jugnu, below are Source code management ...READ MORE

answered Feb 13, 2019 in Ansible by Imran
7,092 views
0 votes
1 answer

Hey I'm trying to execute a playbook but I get the following error:

Hey, you have a syntax error as ...READ MORE

answered Mar 26, 2019 in Ansible by Kalgi
• 52,350 points
766 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