Doesn't work that way today, but that sounds like an awesome enhancement to the facts module... #lowhangingfruit
On Wednesday, May 18, 2016 at 1:59:48 PM UTC-7, Андрей Круглов wrote: > > Hi, > > I have a lot of centos7 webservers with firewalld onboard and a lot of > centos7 webservers with iptables onboard and i need to write role > webserves, some parts are differ to different firewall type. > > Is a simple way to get fact about firewall presence (installed or not) and > its type (firewalld/iptables) or i need to input this info manually into > variables? > -- 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/334ef532-c6d1-4b03-ab59-a40e4e8b7b0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
