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 [email protected] <mailto:[email protected]>.
To post to this group, send email to [email protected] 
<mailto:[email protected]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/58b055cd-35df-4f6e-ad7e-cf66f9cb2aaf%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/58b055cd-35df-4f6e-ad7e-cf66f9cb2aaf%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/51db69ae-b08f-5ff3-7c4d-20857fc2a5bd%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to