What is your source of truth?

On Wed, 4 Jan 2023 at 18:56, Andrew Robert <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/ansible-project/2bf72a7c-0d07-4263-916e-273b4e24033en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
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/CAF8BbLZLDMM3AsQak9_AvRpfVCGRs44RChkC5tsdAoqyvqeHMQ%40mail.gmail.com.

Reply via email to