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 run.

Read up on ansible's idempotency. This allows you to run your playbook
multiple times on whatever hosts, and (if done well) it will assure
the state of each host ist what it should be. Changes are only made,
if the state deviates from the desired state (e.g. a file is deleted,
if it exists and you want it absent, but if there is no file then
ansible has nothing to do).

Johannes

-- 
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/d73c1e74-03d6-99a8-e74a-66357e3a1580%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to