Hi I am trying to run a task based on ansible facts ipv4 of the host currently I am able to do so with "when" and regex it works when I am trying to match this for example: "192.168.[1,2]." but I need another subnet in the same regex for example "10.10.[8,9.]" how can I combine the 2 ? either with regex or maybe create a list of subnets that the IP will match like : subnets: - 192.168.1.0/24 - 192.168.2.0.24
and so in 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7235bff5-9ec9-4cbf-b321-95e017ab9a7fn%40googlegroups.com.
