# Get file

**URL:** <https://forum.ansible.com/t/get-file/14694>\
**Category:** Ansible Project\
**Created:** [March 4, 2014, 12:08pm UTC](https://forum.ansible.com/t/get-file/14694 "2014-03-04T12:08:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user82](https://avatars.discourse-cdn.com/v4/letter/u/7cd45c/32.png) [@user82](https://forum.ansible.com/u/user82)\
**Post date:** [March 4, 2014, 12:08pm UTC](https://forum.ansible.com/t/get-file/14694/1 "2014-03-04T12:08:54Z")

</div>

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

Playbook:

```auto
--- 
- 
  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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![Adam\_Morris](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Post date:** [March 4, 2014, 5:45pm UTC](https://forum.ansible.com/t/get-file/14694/2 "2014-03-04T17:45:01Z")

</div>

Based on a previous discussion it is probably package-ui which is an invalid identifier. Try either package\_ui or even just package.

I hope that this helps,

Adam
