# AAP console for ILMT deployment task failed with error

**URL:** <https://forum.ansible.com/t/aap-console-for-ilmt-deployment-task-failed-with-error/6758>\
**Category:** Get Help\
**Tags:** aap\
**Created:** [June 24, 2024, 9:22pm UTC](https://forum.ansible.com/t/aap-console-for-ilmt-deployment-task-failed-with-error/6758 "2024-06-24T21:22:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naga](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@naga](https://forum.ansible.com/u/naga)\
**Post date:** [June 24, 2024, 9:22pm UTC](https://forum.ansible.com/t/aap-console-for-ilmt-deployment-task-failed-with-error/6758/1 "2024-06-24T21:22:08Z")

</div>

Hi All,

I am trying to deploy the ILMT scanner task from AAP portal and getting the below error,

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/6/6d521ea1023a2e135e51ee955f9661b6a40a15c9.png)

Do we have any commands to resolve this?

Thanks,  
Nagaraj.

---

<div class="post-metadata">

**Author:** ![Thulium-Drake](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/thulium-drake/32/833_2.png) [@Thulium-Drake](https://forum.ansible.com/u/Thulium-Drake)\
**Post date:** [July 1, 2024, 10:10pm UTC](https://forum.ansible.com/t/aap-console-for-ilmt-deployment-task-failed-with-error/6758/2 "2024-07-01T22:10:19Z")

</div>

Sound like whatever file you want to deploy is not present in the Execution Environment / Ansible Project code that you’re running from. And judging from the relative path in your code, I’d say you made this playbook on your workstation which does have that present?

Depending on the filesize you can do one of 2 things:

1. Put the file in your Git code, however, don’t do that when it’s big
2. Stick the file on a webserver that’s reachable and change the task to use `remote_src`. You can even extract it at the same time! Like so:

```auto
- name: 'Install LMT'
  ansible.builtin.unarchive:
    src: 'http://repo.example.nl/LMT.tgz'
    dest: '/var/opt/ibm/LMTScanner'
    owner: 'root'
    group: 'root'
    mode: '0644' # You might need to check these, if it's binary stuff, use 0755.

```

```auto

```
