Re: [ansible-project] How to select hosts based on the last connection time?

2017-02-09 Thread Brian Coca
My initial answer was very generic, but so was the question. In any case it still applies. If you are asking if Ansible has a 'built in' way to do this, no, it does not, but it does give you the facilities to build this easily yourself in any way that works for you. You can use a callback/fact

Re: [ansible-project] How to select hosts based on the last connection time?

2017-02-09 Thread Cev Ing
Am Donnerstag, 9. Februar 2017 14:10:01 UTC+1 schrieb Johannes Kastl: > > > Read up on ansible's idempotency. > > Ansible does not guarantee that playbooks are idempotent. They are only idempotent, if you limit yourself to those modules and arguments, which are actually idempotent. And this is

Re: [ansible-project] How to select hosts based on the last connection time?

2017-02-09 Thread Johannes Kastl
On 09.02.17 14:00 Cev Ing wrote: > 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

Re: [ansible-project] How to select hosts based on the last connection time?

2017-02-09 Thread Cev Ing
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

Re: [ansible-project] How to select hosts based on the last connection time?

2017-02-08 Thread Brian Coca
Use the connected/not connected data as part of your inventory, groups seem like the obvious thing. O -- -- Brian Coca -- 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

[ansible-project] How to select hosts based on the last connection time?

2017-02-08 Thread Cev Ing
How to run a playbook on hosts, that have been connected today? Or those, which have nor been connected today? -- 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