Cannot create redis cache on azure: Redis Management Client error

84 views Asked by At

I am trying to create a simple redis cache on azure via ansible. Here's my code:

- name: Create an Azure Cache for Redis
  azure_rm_rediscache:
  resource_group: 'dev-rg
  name: 'dev-cache'
  sku:
   name: basic
   size: C1

But, I'm having this error: TypeError: RedisManagementClient.init() got an unexpected keyword argument 'credential'

I tried changing the azure-mgmt-redis version that was initially 5.0.0 but always the same error.

0

There are 0 answers