Is there a standard way to show which roles have been installed on a target machine from that machine?
e.g. Ansible control machine installs Apache & MySQL on Remote1 and Nginx & MySQL on Remote2. If I SSH into Remote2, can it tell me that Ansible successfully installed Nginx & MySQL?
Alternatively, is there a good/accepted way to drop a file on a target machine that lists what roles were installed on it?
Most of my Ansible roles create local Ansible facts, usually to create some internal variables used by the role, or to mark a particular service as installed for conditional checks. Since the Ansible facts are consitently named after the roles that created them, when I check a host to see what facts are installed, I can see at a glance what roles were executed on a host: