Good afternoon,

I am able to stop/start services on a server with ansible using ssh keys if 
I specify the services as items. 

Is there a way to modify the hosts file to supply the service names by 
server and pick up as variables?

Better yet, is there a way to auto detect the service names and plug them 
in when found?

All of the services start with mq@ so there is a pattern to work off of.

Any help you can provide would be fantastic.  

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2bf72a7c-0d07-4263-916e-273b4e24033en%40googlegroups.com.

Reply via email to