ios_config error: unable to set terminal parameters

Hi,

I’m trying to test enable mode privilege escalation on a Cisco router.

I have created a simple playbook to update the hostname of the router, as shown below -