0 votes
1 view
in Devops and Agile by (2.3k points)

Hey guys, so i've been trying to get a list of all the apps on my RHEL 7 machine but using the service --list-all i don't get anything. Is it possible to use ansible to list all the commands.

I've been using this command adhoc:

ansible all -m raw -a "systemctl list-unit-files | grep enabled"

Please log in or register to answer this question.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !