You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the ios_acls module to manage ACL on a Cisco Catalyst 6500, but the task fails. The debug logs show that the task successfully logged in to the device, sends requests and receives answers to them and does nothing else:
After the timeout expires close persistent connection and terminates with an error
fatal: [ds1.local]: FAILED! => {
"changed": false,
"module_stderr": "socket path /home/user/.ansible/pc/dcba2a10b8 does not exist or cannot be found. See Troubleshooting socket path issues in the Network Debug and Troubleshooting Guide",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"
}
I tried increasing the timeout but that didn't change anything. After any timeout, this error occurs and ios.acls does nothing.
I try for this test ACL
# cat ./test/test.acl
Extended IP access list test
10 permit ip any any
20 permit icmp any any 0
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all.
I'm trying to use the ios_acls module to manage ACL on a Cisco Catalyst 6500, but the task fails. The debug logs show that the task successfully logged in to the device, sends requests and receives answers to them and does nothing else:
After the timeout expires close persistent connection and terminates with an error
I tried increasing the timeout but that didn't change anything. After any timeout, this error occurs and ios.acls does nothing.
I try for this test ACL
And this test playbook
The hosts file contains one host in the ios group
My environment
PS: To check the connection to cisco, I tried the ios_command module and found no problems with it.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions