On 31. okt. 2017 19:58, Dave wrote:
> Doesn't seem to be working when I implement it in my code:
>
> - name: If the IP address is destined for the .1 subnet...
> when: set_machinename | ipaddr('192.168.1.0/32')
>
> It still skips over this range even if I specify set_machinename to
> '192.168.1.4'.
In your earlier mail you wrote /24 now you are using /32?
192.168.1.4 is not part of 192.168.1.0/32, only 192.168.1.0 is that.
--
Kai Stian Olstad
--
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/20dde675-6746-109c-1baa-86951753db86%40olstad.com.
For more options, visit https://groups.google.com/d/optout.