Skip to content

Instantly share code, notes, and snippets.

@sanguis
Created June 30, 2016 18:43
Show Gist options
  • Save sanguis/481206d528f849a08d28409a228a7675 to your computer and use it in GitHub Desktop.
Save sanguis/481206d528f849a08d28409a228a7675 to your computer and use it in GitHub Desktop.
I am doing somthing silly with syntax but what?
TASK [debug] *******************************************************************
ok: [localhost] => {
"omeka_cache": [
{
"app": "/opt/omeka/apps"
},
{
"plugins": "/opt/omeka/plugins"
},
{
"theme": "/opt/omeka/themes"
}
]
}
TASK [download applications files] *********************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "'list object' has no attribute 'app'"}
- name: debug
debug: var=omeka_cache
- name: download applications files
unarchive:
src: "http://omeka.org/files/omeka-{{ inst.value.version }}.zip"
copy: no
dest: "{{ omeka_cache.app }}"
omeka_cache_base: /opt/omeka
omeka_cache:
- app: "{{ omeka_cache_base }}/apps"
- plugins: "{{ omeka_cache_base }}/plugins"
- theme: "{{ omeka_cache_base }}/themes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment