deployment failing in ansible

Hi

I am getting the below error when i am trying to deploy the application NCS via Jenkins using ansible scripts |

  • |

TASK [ncs-ansible : Run install.sh] ********************************************
task path: /automation/roles/ncs-ansible/tasks/7-app.yml:67
fatal: [ncs]: FAILED! => {“changed”: true, “cmd”: “echo ‘yes’ | /opt/cts/nbms/install.sh Tomee”, “delta”: “0:00:00.376643”, “end”: “2020-02-18 13:28:51.645130”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-18 13:28:51.268487”, “stderr”: “Error: Unable to access jarfile @INSTALL_JAR@\nError: Unable to access jarfile @INSTALL_JAR@”, “stderr_lines”: [“Error: Unable to access jarfile @INSTALL_JAR@”, “Error: Unable to access jarfile @INSTALL_JAR@”], “stdout”: “\n ------------- Settings -------------\n JAVA_HOME=/opt/cts/jdk1.8.0_131\n ------------------------------------\n\n tokenCopy installer/installer.sh to /opt/cts/nbms/installer.sh”, “stdout_lines”: [“”, " ------------- Settings -------------“, " JAVA_HOME=/opt/cts/jdk1.8.0_131”, " ------------------------------------“, “”, " tokenCopy installer/installer.sh to /opt/cts/nbms/installer.sh”]}

PLAY RECAP *********************************************************************
ncs : ok=55 changed=14 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0

Hi

I am getting the below error when i am trying to deploy the application NCS via Jenkins using ansible scripts

This is really off topic here due to missing information (playbook, task, ...).

Regards
          Racke

I have attached the application zip file with tasks and templates

(attachments)

nifi-ansible.7z (57.9 KB)

Don’t expect people to do all the work of downloading and unpacking random mystery/binary files.

Instead you are expected to provide the playbook/task etc in the easiest way possible for us to understand the problem.

So, please tell clearly:

  • What you are trying to achieve.

  • How you are doing this.

  • What problems you encounter.

  • Which command did you run, and what output did you get from that (copied as text, not as images/attachments/screenshots)

  • What the relevant tasks/playbooks/code/variables look like