- include_tasks: test.yml, test2.yml, test3.yml
when: install_type | lower | search ("n")test.yml, test2.yml, test3.yml". I want it to search for 3 individual files.
What about:
- include_tasks: '{{ item }}'
with_items:
- test.yml
- test2.yml
- test3.yml
when:install_type |lower |search ("n")
Am 23.01.2018 um 23:44 schrieb John Harmon:
> I can't seem to find examples on this that show more than one task/yml file. How can I specify multiple files for
> include_tasks?
>
> |
> -include_tasks:test.yml,test2.yml,test3.yml
> when:install_type |lower |search ("n")
> |
>
> The above looks for a file called "|test.yml,test2.yml,test3.yml". I want it to search for 3 individual files.
> |
>
> --
> 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