mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 05:04:22 -07:00
Fix azure_rm_rediscache test resource naming.
This commit is contained in:
parent
a864247bd5
commit
d95c716249
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
- name: Fix resource prefix
|
- name: Fix resource prefix
|
||||||
set_fact:
|
set_fact:
|
||||||
redis_name: "{{ (resource_group | replace('-','x'))[-8:] }}{{ 1000 | random }}redis"
|
redis_name: "redis-{{ resource_group | hash('md5') | truncate(7, True, '') }}-{{ 1000 | random }}"
|
||||||
vnet_name: "{{ (resource_group | replace('-','x'))[-8:] }}{{ 1000 | random }}vnet"
|
vnet_name: "vnet-{{ resource_group | hash('md5') | truncate(7, True, '') }}-{{ 1000 | random }}"
|
||||||
subnet_name: "{{ (resource_group | replace('-','x'))[-8:] }}{{ 1000 | random }}subnet"
|
subnet_name: "subnet-{{ resource_group | hash('md5') | truncate(7, True, '') }}-{{ 1000 | random }}"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
||||||
- name: Create a redis cache (Check Mode)
|
- name: Create a redis cache (Check Mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue