Created
June 30, 2016 18:43
-
-
Save sanguis/481206d528f849a08d28409a228a7675 to your computer and use it in GitHub Desktop.
I am doing somthing silly with syntax but what?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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 }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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