maven_artifact fails

21 views
Skip to first unread message

g.ro...@prometheuscomputing.com

unread,
Jan 11, 2017, 10:19:18 AM1/11/17
to Ansible Project
What am I doing wrong?

I am trying to use the maven artifact.  I have archiva installed and am trying to run the example (below) but I get the following error:

fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "url parsing went wrong 'NoneType' object has no attribute 'find'"}

My playbook:
---
- hosts: localhost
  connection: local
  tasks:    
  - name: Get federation artifact
    maven_artifact:
      group_id: junit
      artifact_id: junit
      version: 4.11
      dest: ./junit-4.11.jar
...

Thanks
Reply all
Reply to author
Forward
0 new messages