Ansible returns all overlapping states at a point in time. This helper function finds the most recently added and returns that.

take_latest(data)

Arguments

data

Data post ansible processing.