Hi , Please Suugest to resolve issue
- CryptographyDeprecationWarning: Python 2 is no longer supported
- fatal: [gns3-server_5772]: UNREACHABLE! =>
azurerm_linux_virtual_machine.vm: Provisioning with 'remote-exec'...
azurerm_linux_virtual_machine.vm (remote-exec): Connecting to remote host via SSH...
azurerm_linux_virtual_machine.vm (remote-exec): Host: 13.66.198.116
azurerm_linux_virtual_machine.vm (remote-exec): User: mpls
azurerm_linux_virtual_machine.vm (remote-exec): Password: false
azurerm_linux_virtual_machine.vm (remote-exec): Private key: true
azurerm_linux_virtual_machine.vm (remote-exec): Certificate: false
azurerm_linux_virtual_machine.vm (remote-exec): SSH Agent: false
azurerm_linux_virtual_machine.vm (remote-exec): Checking Host Key: false
azurerm_linux_virtual_machine.vm (remote-exec): Connected!
azurerm_linux_virtual_machine.vm (remote-exec): SSH connected
azurerm_linux_virtual_machine.vm: Provisioning with 'local-exec'...
azurerm_linux_virtual_machine.vm (local-exec): Executing: ["/bin/sh" "-c" "ansible-playbook site.yml"]
azurerm_linux_virtual_machine.vm (local-exec): /opt/ansible/lib/python2.7/site-packages/cryptography/init.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
azurerm_linux_virtual_machine.vm (local-exec): CryptographyDeprecationWarning,
azurerm_linux_virtual_machine.vm: Still creating... [2m0s elapsed]
azurerm_linux_virtual_machine.vm (local-exec): PLAY [deploy gns3 server] ******************************************************
azurerm_linux_virtual_machine.vm (local-exec): TASK [Gathering Facts] *********************************************************
azurerm_linux_virtual_machine.vm (local-exec): fatal: [gns3-server_5772]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host "13.66.198.116". Make sure this host can be reached over ssh: Permission denied (publickey).\r\n", "unreachable": true}
azurerm_linux_virtual_machine.vm (local-exec): PLAY RECAP *********************************************************************
azurerm_linux_virtual_machine.vm (local-exec): gns3-server_5772 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
azurerm_linux_virtual_machine.vm (local-exec): Playbook run took 0 days, 0 hours, 0 minutes, 3 seconds
Error: Error running command 'ansible-playbook site.yml': exit status 4. Output: /opt/ansible/lib/python2.7/site-packages/cryptography/init.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
CryptographyDeprecationWarning,
PLAY [deploy gns3 server] ******************************************************
TASK [Gathering Facts] *********************************************************
fatal: [gns3-server_5772]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host "13.66.198.116". Make sure this host can be reached over ssh: Permission denied (publickey).\r\n", "unreachable": true}
PLAY RECAP *********************************************************************
gns3-server_5772 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
Playbook run took 0 days, 0 hours, 0 minutes, 3 seconds