I had another audit request to gather all services on windows servers in an environment of about 70+ servers. I knew doing this through Ansible would be allot faster than going to each server individually. In the end it took less than 5 minutes to gather the services on 70+ servers.
When running the script I usually tee the output to text:
IE: ansible-playbook Audit_win_list_all_services.yml | tee /tmp/audit/Windows_services.txt
Here is my playbook: