Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure region check not picking up the region defined in infra_region #89

Open
asdaraujo opened this issue Feb 25, 2022 · 1 comment
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@asdaraujo
Copy link
Contributor

Regardless of the infra_region configured in the profile, an Azure deployment always show:

TASK [cloudera.exe.infrastructure : Check Azure Region - westeurope]
@wmudge wmudge added the bug Something isn't working label Mar 10, 2022
@wmudge
Copy link
Member

wmudge commented Mar 10, 2022

The verify task -

- name: Check Azure Region - {{ common__azure_region }}
ansible.builtin.assert:
that:
- "common__azure_region is match(regex1)"
fail_msg: "Azure region value 'common__azure_region' with value '{{ common__azure_region }}' is not valid, it is typically lowercase letters and numbers with no spaces. Consider running 'az account list-locations -o table' in Azure CLI for a current listing."
quiet: yes
vars:
regex1: '^([a-z0-9]+)$'
- uses the incorrect parameter. It should be using infra__region

@wmudge wmudge added the good first issue Good for newcomers label Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Development

No branches or pull requests

2 participants