Hi,

I think the problem is you are attempting to use key=value but this needs 
to be key: value when you are using the 1 module argument per line (also 
known as yaml style) in your playbook.

I do this all the time when converting module calls (and ansible 
one-liners) into my playbooks

Try 

- name: Download newrelic 
  get_url: 
    url: 
https://download.newrelic.com/debian/dists/newrelic/non-free/binary-amd64/newrelic-daemon_6.2.0.158_amd64.deb
    dest: /usr/local/tmp/newrelic-daemon_6.2.0.158_amd64.deb 
    mode: 0755

Hope this helps,

Jon

On Monday, April 18, 2016 at 8:55:43 PM UTC+1, darknight wrote:
>
> Hi,
>
> I am totally confused about why i cannot use the get_url attribute in a 
> play i was writing. I get the above error when i try to run the play-book. 
> I am not sure why this is happening and i am totally lost of whats wrong 
> here. can any one let me know whats going here.Thanks
>
>
> - name: Download newrelic 
>   get_url: 
>     url=
> https://download.newrelic.com/debian/dists/newrelic/non-free/binary-amd64/newrelic-daemon_6.2.0.158_amd64.deb
>     dest=/usr/local/tmp/newrelic-daemon_6.2.0.158_amd64.deb 
>     mode=0755
>
>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e90d1420-fb5b-41c2-8c30-6f8d0a53701a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to