summaryrefslogtreecommitdiffstats
path: root/ansible_collections/hetzner/hcloud/tests/integration/common/defaults/main/common.yml
blob: 2b6549ec600670f381d27385911785f7c264fafb (plain)
1
2
3
4
5
6
7
8
9
---
# Azure Pipelines will configure this value to something similar to
# "azp-84824-1-hetzner-2-13-test-2-13-hcloud-3-9-1-default-i"
hcloud_prefix: "tests"

# Used to namespace resources created by concurrent test pipelines/targets
hcloud_run_ns: "{{ hcloud_prefix | md5 }}"
hcloud_role_ns: "{{ role_name | split('_') | map('batch', 2) | map('first') | flatten() | join() }}"
hcloud_ns: "ansible-{{ hcloud_run_ns }}-{{ hcloud_role_ns }}"