Re: [ansible-project] Output a dynamic inventory

2014-03-21 Thread Michael DeHaan
Ideally, I would like to be able to revisit these hosts on a second run, just in case something went wrong with one of those hosts, 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

Re: [ansible-project] Output a dynamic inventory

2014-03-21 Thread Juergen Brendel
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

[ansible-project] Output a dynamic inventory

2014-03-20 Thread Juergen Brendel
Hello! I have a playbook, which dynamically creates hosts on Amazon EC2 and (also dynamically) adds them to various groups. Ideally, I would like to be able to revisit these hosts on a second run, just in case something went wrong with one of those hosts, or I want to change something.

Re: [ansible-project] Output a dynamic inventory

2014-03-20 Thread Jesse Keating
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