Ansible: Split A String By Length

This is something I needed to allow me to push a base64 encoded certificate into A Cisco ASA, but there was buffer limit on the input ERROR: Input line size exceeded available buffer (510...