Using Paramiko for Connection to Cisco device and need to specify parameters for the connection

Can you specify parameters for Paramiko to use when connecting to devices in the hosts file for a device? I need to provide certain parameters so that Paramiko will complete the connection. It works when I run Paramiko in a python program on it’s own, but when trying to do it within Ansible it is not taking those parameters and failing authentication. The parameters are as follows:

look_for_keys=False

allow_agent=False

look_for_keys=False allow_agent=False

TIA