Creating Grafana alerts with Ansible

I am trying to create the grafana alerts using ansible scripts , I am unable to provision the alerts using the configuration

loki_version: 2.4.1
go_arch: amd64
loki_binary_local_dir: ‘’
loki_skip_install: false

loki_config_dir: /etc/{{ env }}/loki
loki_db_dir: /var/lib/loki

loki_config_auth_enabled: false

loki_config_server:
http_listen_port: 3100
grpc_listen_port: 9096

loki_config_ingester:
wal:
enabled: true
dir: /tmp/wal
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 1h # Any chunk not receiving new logs in this time will be flushed
max_chunk_age: 1h # All chunks will be flushed when they hit this age, default is 1h
chunk_target_size: 1048576 # Loki will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
chunk_retain_period: 30s # Must be greater than index read cache TTL if using an index cache (Default index read cache TTL is 5m)
max_transfer_retries: 0 # Chunk transfers disabled

loki_config_schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: azure
schema: v11
index:
prefix: index_
period: 24h

loki_config_storage_config:
boltdb_shipper:
active_index_directory: /tmp/loki/boltdb-shipper-active
cache_location: /tmp/loki/boltdb-shipper-cache
cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk space
shared_store: azure
azure:
container_name: loki
account_name: “{{ azure.account_name }}”
account_key: “{{ azure.account_key }}”
request_timeout: 0

loki_config_compactor:
working_directory: /tmp/loki/boltdb-shipper-compactor
shared_store: azure

loki_config_limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h

loki_config_chunk_store_config:
max_look_back_period: 0s

loki_config_table_manager:
retention_deletes_enabled: false
retention_period: 0s

loki_rules_directory: /etc/{{ env }}/loki/rules

loki_config_ruler:
storage:
type: azure
local:
directory: /etc/{{ env }}/loki/rules/
rule_path: /etc/{{ env }}/loki/rules/*.yml
alertmanager_url: http://alertmanager:9093
ring:
kvstore:
store: inmemory
enable_api: true
enable_alertmanager_v2: true