Re: [ansible-project] Showing which roles have been run on a machine

2017-07-06 Thread Maciej Delmanowski
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 fact

[ansible-project] Showing which roles have been run on a machine

2017-07-06 Thread Gabriel Forster
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? Alterna