Good day everyone. I do not understand why can not execute playbook and ask 
for your help.

Playbook:

--- 
- 
  hosts: web
  sudo: true
  tasks: 
    - 
      name: "Download UI"
      command: wget --auth-no-challenge --http-user={{ username }} 
--http-password={{ password }} {{ package-ui }} chdir=/tmp/
  vars: 
    package-ui: "https://hudson.example.com/job/23/artifact/*zip*/archive.zip";
    username: username
    password: password

Conclusion execution playbook:

linux-31ne:~/tmp/ansible/playbook> ansible-playbook download.xml

PLAY [web] ********************************************************** 

GATHERING FACTS *************************************************************** 
ok: [web]

TASK: [Download UI] *********************************************************** 
fatal: [web] => unable to look up a name or access an attribute in template 
string

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/home/username/download.xml.retry

web              : ok=1    changed=0    unreachable=1    failed=0

What a mistake and what it means?

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/aa8a60a3-932c-4e86-a248-c5c2d9d37d93%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to