I am trying to get a list of all the installed applications on my redhat 7 machine but when I run service --list-all it doesn't respond. Is there any way using ansible to list all the apps.
I tried running this ad-hoc command in ansible:
ansible all -m raw -a "systemctl list-unit-files | grep enabled"