Hello!

On Fri, 2014-03-21 at 09:05 -0400, Michael DeHaan wrote:

> The way to do this is to call some basic script tests to verify that
> your service is running by the time your playbooks complete, such that
> the playbooks fail for those hosts.
> 
> 
> Then the generated retry file can be used to selectively target just
> the hosts that fail.
> 
> 
Yes, that would work. Thank you for your response.

In the meantime, I've gone the route of generating a full inventory file
via a template. Fortunately, that's easy enough. That way, I can use
this inventory also for further configuration management tasks for which
maybe I have other playbooks.

Thank you again...

Juergen

> 
> 
> On Fri, Mar 21, 2014 at 1:24 AM, Jesse Keating
> <jkeat...@j2solutions.net> wrote:
>         On 3/20/14, 4:16 PM, Juergen Brendel wrote:
>                 
>                 Therefore, I'm wondering if there is a preferred way
>                 to output (dump)
>                 the current state of the dynamic inventory. Is there a
>                 module for it or
>                 do I have to use a local_action, run my groups through
>                 a template and
>                 generate an inventory file in that manner?
>         
>         
>         I don't believe there is a built in way to do what you want. A
>         local_action with a template is the way to go.
>         
>         
>         -jlk
>         
>         
>         
> 
> 

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1395438444.3885.3.camel%40localhost.
For more options, visit https://groups.google.com/d/optout.

Reply via email to