You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manage_record.yml
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
loop: "{{ dns_records.json.records }}"
16
16
17
17
- name: Assert that the Record is from Type A
18
-
assert:
18
+
ansible.builtin.assert:
19
19
that: dns_record_type == "A"
20
20
fail_msg: "The DNS Record {{ dyndns_name }} already exist with a Record Type of {{ dns_record_type }}. Needs to be Type A. Please delete the Record manually and run the Playbook again."
21
21
success_msg: "DNS Record Type is Type A as expected. Proceeding."
@@ -25,7 +25,7 @@
25
25
# var: dns_record_id
26
26
27
27
- name: DYNDNS Record {{ dyndns_name }} does NOT exist, will create it with external IP as {{ external_ip_address }}
0 commit comments