Can't provision dashboard with alerts pre-configured

Hello community,

Recently I’ve setup Prometheus and Grafana stack on a new virtual machine and now I’m trying to keep this virtual machine provisioned with Ansible role - and the issue there is in configured alert with webui that is not persistent with JSON.
Is it possible to provision dashboard along with alerts configured or the only way is to make inserts to grafana’s sqlite db with ansible?