I’ve saw a few posts on here regarding this but couldn’t see one relating to my issue.
The gather_facts module is not returning ansible_default_ipv4 information so when I run my playbook I get an error like below.
When I run the command “ansible stapp01 -m gather_facts | grep ansible_default_ipv4” doesn’t return this value. It doesn’t exist on any server.
Yet running the command against localhost does.
Not sure how I can complete this task when gather_facts isn’t returning with the information I need? Any help would be appreciated.