Am Donnerstag, 3. August 2017 18:58:36 UTC+2 schrieb Michael Ströder:
>
> 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 
>
>
>
That seems to fit. Thanks!
 
 

-- 
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/33da1320-cc9e-422f-92f9-048ffb86f036%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to