Files
kayobe/ansible/roles/junos-switch/tasks
Mark Goddard 2a17775514 Restrict ncclient to 0.6.2 to avoid unknown host key issue
Juniper physical network device configuration fails when running the
following command:

kayobe physical network configure --group switches

The error is as follows:

fatal: [switch]: FAILED! => {
        "msg": "Unknown host key [<key>] for [[<IP>]:830]"
}

This is due to a bug [1] in ncclient.

This patch avoids the issue by pinning ncclient to version 0.6.2 or
lower.

[1] https://github.com/ncclient/ncclient/issues/302

Change-Id: I7ecd6cd3460bea56d0ab9cb221d0ef5b5ec2d0bb
Story: 2006378
Task: 36174
2019-08-08 14:20:57 +01:00
..