-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'ansible.errors' #18
Comments
Nevermind, it seems I need to use However, I am still confused on what |
Greetings @mangkoran Glad you found the solution yourself. The As we are managing the firewalls using HTTP REST-API there is no way for Ansible to execute these Python-Modules on the firewall directly! - AnsibleGuy |
I am encountering the same error, using localhost as the host to execute the ansible code When using curl, I can Collection version: 1.2.2 also tried 1.2.3 but gave the same errors Debug output:
Playbook:
|
Tasks
Please make sure to go through these steps before opening an issue:
Read the documentation of the affected module: Docs
Read the troubleshooting info: Info
Basic info
Versions
Controller
Collection version: 1.2.2
(
ansible-galaxy collection list | grep opnsense
)Ansible & Python version: 2.15.0
(
ansible --version
)OPNSense
System version: 23.1.8
Plugin version:
(if applicable)
Describe the bug
Cannot run any task due to `ModuleNotFoundError: No module named 'ansible.errors'
Expected behavior
Task run successfully
Debug output
Set the debug option and copy its output.
Screenshots
Additional context
Reproduce
Tasks
Task(s) that produce the error:
Config
Config used for the task(s):
OPNSense config
The text was updated successfully, but these errors were encountered: