hi,
i want to use "get-command" to get the location of a program. in the next 
step i want to execute this program with a full qualified location.
this example is just an example, i know there are other modules for doing a 
ping.

i use 
(get-command ping).source
to get the location. in the next step i want to execute this with a 
parameter:

- name: get pingpath
  win_shell: "(get-command ping).source")
  register: pingpath
- name test ping
  win_shell: "{{ pingpath }} 9.9.9.9"

that throws an error because of an
unexpected token: \":\"

any idea how to fix this?

regards,
andre

-- 
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/bc62ded8-fb0f-465f-ad0c-56c8ac165267n%40googlegroups.com.

Reply via email to