Hi,
I stumbled across the Ansible article below which is very relevant to a situation in my workplace; we have a need to configure server hosts in accordance with an approved software baseline (e.g. config.baseline file).
https://www.ansible.com/blog/how-to-do-devops-without-leaving-legacy-behind
What I am unsure of is: what is Ansible best practice for associating a deployed baseline with a host?
What I thought about was adding a field in host_vars/ like ‘baseline’ that is updated with the appropriate baseline version once an updated baseline has been deployed to a host.
Thanks in advance.
David.