deployment failing in ansible

48 views
Skip to first unread message

Nishu Sinha

unread,
Feb 18, 2020, 10:06:45 AM2/18/20
to ansible...@googlegroups.com
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   

Stefan Hornburg (Racke)

unread,
Feb 18, 2020, 10:15:32 AM2/18/20
to ansible...@googlegroups.com
On 2/18/20 4:06 PM, Nishu Sinha wrote:
> 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
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CADG8R8wCt-sUK-Z1vjehZdDtN3_F4KF9i6WZSXiEQsAHE_KF9g%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CADG8R8wCt-sUK-Z1vjehZdDtN3_F4KF9i6WZSXiEQsAHE_KF9g%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc

Nishu Sinha

unread,
Feb 18, 2020, 10:17:35 AM2/18/20
to ansible...@googlegroups.com
I have attached the application zip file with tasks and  templates

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3c9fa8d2-01bc-a592-7f8b-e6248908c4b4%40linuxia.de.
nifi-ansible.7z

Dick Visser

unread,
Feb 18, 2020, 10:56:44 AM2/18/20
to ansible...@googlegroups.com
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




--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.
Reply all
Reply to author
Forward
0 new messages