Skip to content

Commit

Permalink
Update variable for dns_zone on infra-osp-dns role (#4372)
Browse files Browse the repository at this point in the history
  • Loading branch information
agonzalezrh authored Jan 14, 2022
1 parent 886cfa0 commit c098088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles-infra/infra-osp-dns/tasks/nested_loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- name: Add public_dns entry to host
add_host:
name: "{{ _instance_name }}"
public_dns_name: "{{ _instance_name }}.{{ guid }}.{{ cluster_dns_zone }}"
public_dns_name: "{{ _instance_name }}.{{ guid }}.{{ osp_cluster_dns_zone | default(cluster_dns_zone) }}"

- name: DNS alternative entry ({{ _dns_state | default('present') }})
when: _alt_names | length > 0
Expand Down

0 comments on commit c098088

Please sign in to comment.