Cev Ing wrote:
> I know that I can write an inventory group containing all Solaris servers. 
> But this 
> sounds redundant to me. Instead I want Ansible to check if the host is a 
> Solaris host
> and if so, apply the role for Solaris systems.

Maybe this helps:

https://docs.ansible.com/ansible/latest/group_by_module.html

Ciao, Michael.

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f971a6c2-f071-99f7-8b96-7bd4fe89f057%40stroeder.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to