--- - name: Testing tasks hosts: all tasks: - debug: var=ansible_all_ipv4_addresses