- hosts: "{{ targets }}"
gather_facts: yes
tasks:
- name: "### Run lspci: {{ item }}"
shell: "bash /opt/xilinx/xrt/setup.sh; {{ playbook_dir
}}/alveo_tests.sh -p -l {{ output_dir }}/lspci.log"
become: yes
register: lspci
- debug: var=lspci.stdout_lines
This is my playbook
setup.sh calls a python script , while running thius script iam finding
module error.
My python version 2.7.5
On Monday, November 25, 2019 at 4:08:35 PM UTC+5:30, Dick Visser wrote:
>
> That is almost zero information.
> Could you 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
>
> On Mon, 25 Nov 2019 at 11:18, VADREVU RAMADEVI
> <[email protected] <javascript:>> wrote:
> >
> > While running a shell script which internallly calls python
> script,giving the module isssue.
> >
> > Python version which installed on the host is Python 2.7.5
> >
> > can someone help me ho eto get out of this module error
> >
> > --
> > 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 [email protected] <javascript:>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/1d25c6a4-37f7-4c42-b5e3-95f4a2f868a1%40googlegroups.com.
>
>
>
>
>
> --
> Dick Visser
> Trust & Identity Service Operations Manager
> GÉANT
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/46d8291b-47f9-4515-90e5-34d3516d6abd%40googlegroups.com.