@john-c dunno about how that script should work, but you can execute anything with ansible.builtin.shell