Skip to content

Commit

Permalink
sap_vm_provision: fix var ref for detect private dns auto
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-freeman committed Apr 20, 2024
1 parent 8d48123 commit 06c3b62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

- name: Set boolean fact for Auto Registration of DNS Records from Private DNS Zone Virtual Network Link
ansible.builtin.set_fact:
__sap_vm_provision_msazure_private_dns_auto_register_records: "{{ (__sap_vm_provision_msazure_private_dns_virtual_network_links.virtualnetworklinks | selectattr('id', 'search', sap_vm_provision_dns_root_domain))[0].registration_enabled }}"
__sap_vm_provision_msazure_private_dns_auto_register_records: "{{ (__sap_vm_provision_msazure_private_dns_virtual_network_links.virtualnetworklinks | selectattr('virtual_network.id', 'search', sap_vm_provision_msazure_vnet_name))[0].registration_enabled }}"

- name: Provision hosts to MS Azure
register: register_provisioned_hosts
Expand Down

0 comments on commit 06c3b62

Please sign in to comment.