Is it possible to test for conditions based on partial matches? I’m trying to test for variables that match a specific /24 range and I have the following so far:
- name: If the IP address is destined for the .1 subnet...
when: set_machinename | match("192.168.1.")
I tried a wildcard as shown here but that didn’t seem to work either. Any ideas?