On 31. okt. 2017 20:28, Dave wrote:
> Yea, no I corrected that mistake. I meant to say /24, not /32. Still gets
> bypassed when I run the ansible script.
What I can say it's working for me.
test.yml
---
- hosts: localhost
tasks:
- debug: msg="Yay I'm running"
$ ansible-playbook test.yml -e set_machinename=192.168.1.4
PLAY [localhost] *******************************************************************
TASK [debug] ***********************************************************************
ok: [localhost] => {}
MSG:
Yay I'm running
$ ansible-playbook test.yml -e set_machinename=192.168.2.4
PLAY [localhost] *******************************************************************
TASK [debug] ***********************************************************************
skipping: [localhost]
Maybe you should run it with -vvv and see if something jumps or post the output here.
--
Kai Stian Olstad