Hi I tried something like:
copy: src={{ item }} dest=/etc/mode=444
with_fileglob:
- abc/*.cnf
So how to prevent the play from failing, when there is no file to glob?
ignore_errors: even did not work.
erkan
Hi I tried something like:
copy: src={{ item }} dest=/etc/mode=444
with_fileglob:
- abc/*.cnf
So how to prevent the play from failing, when there is no file to glob?
ignore_errors: even did not work.
erkan
Can you paste the version of Ansible you are using and the output from running the task in verbose mode?
Sorry everything is fine.
A included file throw that error.