Correct, this is not possible with playbook-level includes, however you
could do it with task-level includes in 2.0.

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

On Fri, Oct 9, 2015 at 3:46 AM, Dan C <[email protected]> wrote:

> Thanks David.
> I think it would be a nice feature.
> Right now I suppose that I could just run ansible-playbook from within the
> ansible playbook which would run the "
> */this/file/does/not/exist/yet/configure.yml*" playbook. It should work,
> shouldn't it? But it even sound so awfull ! ;-)
>
> El jueves, 8 de octubre de 2015, 18:34:37 (UTC+2), David Karban escribió:
>>
>> Hi,
>>
>> not possible on 1.9. version, do not know, if on 2.0.
>>
>> David Karban
>> Linux server specialist/Specialista na správu linuxových serverů
>> www.karban.eu
>>
>> 2015-10-08 18:19 GMT+02:00 Dan C <[email protected]>:
>>
>>> Hi,
>>>
>>> Does someone know if and how to include plays that does not exist at the
>>> execution time?
>>> For example.
>>> *main.yml*
>>>
>>> - include: download.yml
>>>
>>> - include: /this/file/does/not/exist/yet/configure.yml
>>>
>>>
>>> I would like to download some files. After *download.yml* finishes the
>>> file "*/this/file/does/not/exist/yet/configure.yml*" will exist, but
>>> not before. I would like to include the *configure.yml* file which will
>>> be an ansible playbook.
>>>
>>> Is it possible?
>>>
>>> --
>>> 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/f819c896-7308-4742-b7ac-376902a5d5d0%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/f819c896-7308-4742-b7ac-376902a5d5d0%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/da60675f-11c4-4e3d-a5e0-e14501e81049%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/da60675f-11c4-4e3d-a5e0-e14501e81049%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/CAMFyvFisGuKWgNiURMqAGatVF4CMZCxOe-Q2eMvGa%2BgKD182Fg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to