Please keep the conversation on the list by reply to the list and not to
me personally.
Sorry, intended to, don't know why it didn't work... Hope it works this
time!
No, ansible did explicitly complain about not finding a file inside a "files"
subdirectory. Here's the original task that causes trouble:
- name: copy gerbera build script
become: true
copy:
src: usr/local/src/gerbera/build-gerbera.sh
dest: usr/local/src/gerbera/build-gerbera.sh
mode: ug+x
This task lives in my root/roles/gerbera_server/tasks/main.yaml (with "root"
denoting the root of the whole ansible project), while the source file lives in
root/roles/gerbera_server/files/files/usr/local/src/gerbera/
>
Ansible is searching roles/gerbera_server/files
you have files two times, then you need to use
src: files/usr/local/src/gerbera/build-gerbera.sh
Oh my goodness! How could that happen -- didn't realize I accidently had
an additional "files" folder within "files"! Thanks a thousand times for
pointing that out -- after fixing that, it works as expected.
Cheers --
Torsten
--
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/5edacf78-0884-d946-6dd1-dfe7a5f435ec%40eBiology.de.
For more options, visit https://groups.google.com/d/optout.