- hosts: [{{ ip }}] sudo: yes tasks: - shell: echo `/sbin/ifconfig`