--- - hosts: '{{ ip_addr }}' become: yes become_method: sudo gather_facts: no tasks: - name: "[CONFIG REPO VN] Comprobando si es necesario configurar repositorios" debug: msg: "No es necesario configurar repositorios en la máquina" when: repo-vn_enabled is not defined or not repo-vn_enabled - name: "[CONFIG REPO VN] Add-repos-vn" import_role: name: config-repo-vn