On 10 June 2014 18:25, eskhool <[email protected]> wrote: > what is the recommendation or best practice to apply a playbook to a set > of machines which may often not be running? >
Depends what behavior you want. Should it boot up if you want to run ansible on them, or should it fail? > Shouldn't there be a registry of which playbooks have been applied where? > Not really. A fact cache is something in the pipeline AFAIK; would be nice also to be able to feed facts back from specific playbook outputs too (e.g. deployed version of things.) Even if playbooks are perfectly idempotent, it is highly inefficient to > keep applying them again and again... > Not sure why this is inefficient. You have lots of hosts? Also, why would you want to play them them again and again? Did you consider using --limit and/or --tags? Serge -- 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/CAEhzMJDuAdLiBjQ2Hc3GAGE7V7z5Juzn2b%3DqVr%3DA1XBNw%3De%2B2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
