Hello, All
I’m getting the following errors while I was running a playbook. It used to
be working fine before. However, the old server was broken and, we built a
new server. Not sure it’s because of ansible version, but keep getting
these error for all playbooks. The current ansible version is ansible [core
2.14.2]
[user1@ansible002 inventories]# ansible ios -i
$ANSPATH/inventories/inv-test-simple_for_testing.yml -m ping
OOOOO-XXX-SW01 | FAILED! => {
"msg": "the connection plugin 'network_cli' was not found"
}
[user1@ansible002 inventories]#
· my code!
all:
children:
ios:
vars:
ansible_network_os: ios
ansible_connection: network_cli
hosts:
OOOOO-XXX-SW01:
And there were some feedback that network_cli became part of the
ansible.netcommon collection. Is installing ansible-galaxy the only
solution to resolve this issue?
Actually, I tried to install ansible.netcommon collection, but keep getting
the following error. Does anyone have any clue? Thank you in advance!
[user1@ansible002 ~]$ ansible-galaxy collection install ansible.netcommon
--force Starting galaxy collection install process
Process install dependency map
[WARNING]: Skipping Galaxy server https://galaxy.ansible.com. Got an
unexpected error when getting available versions of collection
ansible.netcommon: Unknown error when attempting to call Galaxy at '
https://galaxy.ansible.com/api/': <urlopen error TLS/SSL connection has
been closed (EOF) (_ssl.c:992)>
ERROR! Unknown error when attempting to call Galaxy at '
https://galaxy.ansible.com/api/': <urlopen error TLS/SSL connection has
been closed (EOF) (_ssl.c:992)>
[user1@ansible002 ~]$
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/408f723a-678f-4c47-999b-7594239629e8n%40googlegroups.com.