The following error when playing the lab: ansible.module_utils.connection.ConnectionError: Failed to authenticate: Bad authentication type; allowed types: ['publickey', 'keyboard-interactive']
EOS only supports keyboard-interactive or public key auth when using SSH by default (and considering the provisioned config on ATD). I haven't find any knob to use keyboard-interactive with netcommon and the devbox public key is provisioned on the switches anyway.
The alternative is to use eAPI using the correct variables.
Still using CLI over SSH in the inventory_cli.yml file and using it with a few commands
The following error when playing the lab:
ansible.module_utils.connection.ConnectionError: Failed to authenticate: Bad authentication type; allowed types: ['publickey', 'keyboard-interactive']
EOS only supports keyboard-interactive or public key auth when using SSH by default (and considering the provisioned config on ATD). I haven't find any knob to use keyboard-interactive with netcommon and the devbox public key is provisioned on the switches anyway.
The alternative is to use eAPI using the correct variables.
Still using CLI over SSH in the
inventory_cli.yml
file and using it with a few commands