Forum Discussion
Ansible Error: An exception occurred during task execution
- Feb 24, 2022
Problem solved! At least for us. In short, the module in our playbook needs to be executed on the Big-IP itself which uses Python 2.7 and causes the "split()" error. In most cases this can be resolved with "connection: local" or "delegate_to: localhost", as it is with all the F5 Ansible modules. In our case the solution was a bit different, you can check the GitHub issue for explanation.
nice use of the spoiler option! For those that are better versed with ansible errors than I, do you have the (sanitized) playbook you're running that you can share, what version of BIG-IP and what version of python you're using? Thanks...Jason
It is running Python Version 3.8 and BIG IP Version 14.1.2.6.
Sanitized Playbook here
- JRahmFeb 24, 2022Admin
anything in the github issue mkratochvil mentioned helpful to you?
- JoshBarrowFeb 25, 2022Cirrus
going to be trying this out today! i'll keep this updated!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com