I’ve been using Ansible as a clone of the git repo, periodically checking out newer stable branches. I’m currently using the stable-2.8 branch but looking to move to a newer version.
The splitting of Ansible in to parts makes me think the best way to use the latest version is start over with a new Ansible install, so I’ve installed Ansible as described at Installing Ansible — Ansible Community Documentation
It seems to work fine, except the value of the {file} part of the ansible_managed string has changed. With 2.8 {file} is expanded to the full path of the template, as described at Ansible Documentation — Ansible Community Documentation
With the latest version of Ansible, it’s just the filename. So ansible_managed has gone from
Ansible managed, do not edit directly: /home/mike/blah/roles/core/templates/bash_prompt.sh.j2 by mike on foo
to
Ansible managed, do not edit directly: bash_prompt.sh.j2 by mike on foo
It this expected behaviour?
I didn’t see anything in release notes about this when I looked and I cannot find anything in the documentation for the current version of Ansible which explains what the value of {file} is supposed to be as Ansible Documentation — Ansible Community Documentation does.
thanks,
mike