Am Mittwoch, 8. Februar 2017 17:02:16 UTC+1 schrieb Brian Coca:
>
> Use the connected/not connected data as part of your inventory, groups 
> seem like the obvious thing. 
>

It is not so obvious to me, what you suggest. The inventory is something 
written by hand. Should I manually write the time-stamp when I have run a 
playbook on a host into the inventory file? And how should I query the 
information?

I am looking for something like `find . -mtime +1` transferred to Ansible. 
Run the playbook on hosts, on which it has not been run for n days. And the 
negation: run the playbook on host, on which it has been run during the 
last n days.

Background: I have a playbook and I use it on my hosts. Then I change it. 
The change affects about half of the hosts. But the change was erroneous. 
Next I correct the playbook. And now I would like to run the playbook on 
those hosts changed by the last run.

-- 
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/329a1f11-27f7-452c-82f7-8b89cbd8b939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to