Hello,
I’m trying to create multiple origin host name (within the same origin group) in an Azure Front Door profile.
The code is executed without error BUT only the first entry is added to the origin group…
Create Origin from Blob in Storage Account Francfort
- name: Create Azure Front Origin “{{ azure_fd_origin_1_1_1_name_id }}” in location “{{ azure_location_0_id }}”
azure.azcollection.azure_rm_afdorigin:
subscription_id: “{{ azure_subscription_id }}”
#client_id: “{{ azure_client_id }}”
#secret: “{{ azure_secret_id }}”
tenant: “{{ azure_tenant_id }}”
ad_user: “{{ azure_ad_user_id }}”
password: “{{ azure_ad_user_password_id }}”
resource_group: “{{ azure_resource_group_name_infra_1_id }}”
name: “{{ azure_fd_origin_1_1_1_name_id }}”
profile_name: “{{ azure_fd_profile_1_name_id }}”
origin_group_name: “{{ azure_fd_origin_group_1_1_name_id }}”
host_name: “xxxx.z1.web.core.windows.net”
origin_host_header: “xxxx.z1.web.core.windows.net”
http_port: 80
https_port: 443
priority: 1
weight: 100
enabled_state: “Enabled”
Create Origin from Blob in Storage Account Paris
- name: Create Azure Front Origin “{{ azure_fd_origin_1_1_2_name_id }}” in location “{{ azure_location_0_id }}”
azure.azcollection.azure_rm_afdorigin:
subscription_id: “{{ azure_subscription_id }}”
#client_id: “{{ azure_client_id }}”
#secret: “{{ azure_secret_id }}”
tenant: “{{ azure_tenant_id }}”
ad_user: “{{ azure_ad_user_id }}”
password: “{{ azure_ad_user_password_id }}”
resource_group: “{{ azure_resource_group_name_infra_1_id }}”
name: “{{ azure_fd_origin_1_1_2_name_id }}”
profile_name: “{{ azure_fd_profile_1_name_id }}”
origin_group_name: “{{ azure_fd_origin_group_1_1_name_id }}”
host_name: “yyyy.z28.web.core.windows.net”
origin_host_header: “yyyy.z28.web.core.windows.net”
http_port: 80
https_port: 443
priority: 2
weight: 100
enabled_state: “Enabled”
Any idea ?
Regards,
HA