There's nothing special about ansible_managed, it's just a var like any other. If you change the contents of a file, handlers will fire.
On 2 June 2016 at 20:13, Johannes Kastl <[email protected]> wrote: > Dear all, > > I sometimes see files being reported as changed, although the contents > (apart from the ansible_managed) have not changed. The permissions are > the same. > > I thought that in these cases, where only the ansible_managed line has > changed, the file would stay the same. I get this behaviour a lot with > other files, and I do not know why. > > How to debug this? I am already running my playbook with -v. > > 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/57508547.7090508%40ojkastl.de. > For more options, visit https://groups.google.com/d/optout. -- 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/CAK5eLPRYyUqOtPJPgmoW4LM-zg1LBUj%2BU6%2BfQt-K2H_A3AAjXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
