Why am I Getting "ansible.module_utils.connection.ConnectionError: operation requires privilege escalation." While Using Some Ansible Network Modules?

Solution Verified - Updated -

Issue

Ansible playbook run randomly returns "ansible.module_utils.connection.ConnectionError: operation requires privilege escalation" errors.

Environment

Ansible Networking

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In