Categories
ansible juniper

Ansible SSH Errors when connecting to local vagrant juniper vqfx10k box

When recently running ansible on a local virtual switch from juniper vqfx10k, I got the following error: $ ansible local -m ping [WARNING]: sftp transfer mechanism failed on [127.0.0.1]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: scp transfer mechanism failed on [127.0.0.1]. Use ANSIBLE_DEBUG=1 to see detailed information vqfx1 | FAILED! => { "changed": false, […]

Categories
juniper

Ansible Juniper Junos modules do not work on old Juniper SRX versions

I tested some ansible junos modules on an old SRX version. Model: srx220h2 Version: 12.1X44-D35.5 I have found that junos_command works, but the others always give a timeout error. Even with a 240 second ansible_command_timeout. The error is: The error was: ansible.module_utils.connection.ConnectionError: b’command timeout triggered, timeout value is 240 secs.\nSee the timeout setting options in […]