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

add azure collections to ocp4-cluster #4380

Merged
merged 3 commits into from
Jan 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ansible/cloud_providers/azure_infrastructure_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
tags:
- azure_infrastructure_deployment
- validate_azure_template
azure_rm_resourcegroup:
azure.azcollection.azure_rm_resourcegroup:
name: "{{ az_resource_group }}"
location: "{{ azure_region }}"

Expand Down Expand Up @@ -149,7 +149,7 @@
- azure_infrastructure_deployment

- name: Fetch DNS zone NS entries
azure_rm_dnsrecordset_info:
azure.azcollection.azure_rm_dnsrecordset_info:
zone_name: "{{guid}}.{{HostedZoneId}}"
resource_group: "{{az_resource_group}}"
record_type: NS
Expand All @@ -168,7 +168,7 @@
- azure_infrastructure_deployment

- name: Add delegation for NS to the main DNSZone
azure_rm_dnsrecordset:
azure.azcollection.azure_rm_dnsrecordset:
resource_group: "{{az_dnszone_resource_group|default('dns')}}"
relative_name: "{{guid}}"
zone_name: "{{HostedZoneId}}"
Expand All @@ -182,7 +182,7 @@
- dns_delegation == true

- name: Add CNAME for bastion to the main DNSZone
azure_rm_dnsrecordset:
azure.azcollection.azure_rm_dnsrecordset:
resource_group: "{{az_dnszone_resource_group|default('dns')}}"
relative_name: "bastion.{{guid}}"
zone_name: "{{HostedZoneId}}"
Expand Down