Reputation: 1
> - name: hosts: all become: yes gather_facts: no tasks:
> - name: copy files for setup
> copy:
> src: /home/user/files
> dest: /home/user/files
> force: yes
> mode: 0644
> - name: Install
> apt:
> deb: /home/user/files/*-client_amd64.deb
> update_cache: true
> state: present
I have not found a solution to this problem.
Upvotes: 0
Views: 289
Reputation: 427
the problem is that the module is not capturing the stderr or stdout into a variable but sending it to actual stdout.
As the stdout is processed by Ansible for JSON data (result data) it finds this output which is not JSON and so it deems it garbage
Upvotes: 0