When something is added to the template then the file will be updated 
accordely but if you removed by example some parameters in template then 
nothing happens in the file. The goal is to compare the file and template 
to see if something has changed and finally modified it. The template must 
be always the standard.
Thanks for your help, H

On Wednesday, March 22, 2023 at 6:18:19 PM UTC+1 Dick Visser wrote:

> On Wed, 22 Mar 2023 at 16:37, Hiero-nymo <[email protected]> wrote:
> >
> > The goal is to compare 2 files. The content of a file with a template 
> file.
>
>
> Comparing two files (one of them is already an ansible template?) is
> not a goal, but rather an intermediate step.
> What will you do with the result of this comparison?
> If you can show your entire playbook, then it may get clear.
>
> Dick
>

-- 
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/ed725307-7456-4ece-8705-f724f187c4afn%40googlegroups.com.

Reply via email to