If I'm to declare following variable under my "host_vars/host_name" or "group_vars/group_name" folders - I'll end up with undefined variable.
At the same time if I'm to declare the same in my Inventory file under any of my ":var" group variables I can call for my variable just fine.
I was wondering if this is something expected? Is anyone else seeing something similar? Facts lookup is enabled of course.
Here is my example:
network_mask = "{{ ansible_eth1.ipv4.network }}/{{ ansible_eth1.ipv4.netmask }}"