How to Import a Kibana Dashboard with Ansible? - update

Thanks for this solution. It won't currently work for me as my system is on Ansible 2.9 and doesn't support a body_format of form-multipart. But I'll keep it in mind when we upgrade Ansible.