- name: ejecutar comando command: ip a register: salida failed_when: "'eth2' not in salida.stdout"