Thanks Jordan,

The playbook has now moved on and now i am getting the following error:-

'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 
'name'

this is being generated from an include_tasks on the following YAML:

 name: Get the package from the artifactory
  win_uri:
    url: "{{ artifactory_path }}/{{ this_artifact.name }}/{{ 
this_artifact.version }}/{{ this_artifact.package }}"
    method: GET
    headers:
      X-JFrog-Art-Api: "{{ artifactory_api_key }}"
    dest: "{{ package_install_home }}"

- name: Install the .msi package
  win_package:
    path: "{{ package_install_home }}\\{{ this_artifact.package }}"
    arguments: "/i /qb TARGETDIR=d:\\perl  INSTALLDIR=d:\\strawberry\\perl"
    state: present

Any ideas?

Chris

On Wednesday, July 3, 2019 at 12:02:41 PM UTC+1, Jordan Borean wrote:
>
> You can’t use Python modules on a Windows host, use win_file and not file. 
>
> Thanks 
>
> Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" 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-devel/f0441bb5-b39a-4e32-b750-56413d2dbb06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to