diff --git a/gather.yml b/gather.yml index 063eaee..8710b8b 100644 --- a/gather.yml +++ b/gather.yml @@ -16,4 +16,4 @@ - name: Check network interface information debug: - msg: "IP Address of eth0 is {{ ansible_facts['eth0']['ipv4']['address'] }}" \ No newline at end of file + msg: "IP Address is {{ ansible_default_ipv4.address }}" \ No newline at end of file