Forum Discussion
JoshBarrow
Feb 14, 2022Cirrus
Ansible Error: An exception occurred during task execution
Wondering if anyone has seen this type of error using Ansible. Any information would be gladly appreciated! [ Spoiler ]
- 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.
Rebecca_Moloney
Apr 14, 2023Admin
Glad you were able to find a solution! Just popping in to share a few popular Ansible-related DevCentral articles in case anyone finds them helpful:
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects