That's what handlers are for. If the app has not changed the app will not
be reloaded

On Sat, 19 Jun 2021 at 10:23 AM jane p <[email protected]> wrote:

> On Fri, Jun 18, 2021 at 5:15 PM Wei-Yen Tan <[email protected]> wrote:
> >
> > Why do yoy have started twice?  I don't think I am following properly.
> Can you please be more specific?
>
> Desired state is defined as { system is installed, services are running }
>
> On initial deployment, the initial state is that nothing is installed
> and nothing is loaded.
> So playbook installs the system, and starts the services.  All good.
>
> On second run, the initial state is that some version of the system is
> installed, and services are running.
> So playbook checks for changes, installs updates if needed.  Should
> playbook restart the services?  They are already running, but possibly
> with old versions.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAGB%3D%3DuLUVrd6FJX60qS90p9ZQqC5U3eYZQB6J%2B%2Bz63s9utqpnA%40mail.gmail.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BjXPxjb4MNp%3DR%3DRh3BajnoD%3D%3DPT6%3DZU4rt5o4gJKh%3DRxJpCxQ%40mail.gmail.com.

Reply via email to