nodes that are being deleted are not included in astute.yaml, so the hosts.pp granular module cannot delete these entries. It can only add entries for those nodes that are present in astute.yaml.
We could try to introduce an array of hosts that are being deleted so we can perform whatever cleanup tasks are necessary. I believe it needs an entire "nodes hash" for each one, just so we can identify its roles, ips, network roles, etc, and ensure all proper migrations can take place.
nodes that are being deleted are not included in astute.yaml, so the hosts.pp granular module cannot delete these entries. It can only add entries for those nodes that are present in astute.yaml.
We could try to introduce an array of hosts that are being deleted so we can perform whatever cleanup tasks are necessary. I believe it needs an entire "nodes hash" for each one, just so we can identify its roles, ips, network roles, etc, and ensure all proper migrations can take place.