Yea, no I corrected that mistake. I meant to say /24, not /32. Still gets 
bypassed when I run the ansible script.

On Tuesday, October 31, 2017 at 3:16:02 PM UTC-4, Kai Stian Olstad wrote:
>
> 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/693c2f19-df35-46df-8fa2-9d765af8d81b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to