docs 📝: Update verify.yml documentation

Updated the 'create reverse dns zone' task with correct quotes around variable names, ensuring proper formatting and readability of the Ansible playbook.
This commit is contained in:
2025-11-06 17:37:10 +01:00
parent 8e7a4e4b5d
commit 3b08c991cd

View File

@@ -5,13 +5,13 @@
state: started
enabled: true
- name: Create the reverse DNS zone {{ addc_reverse_zone_name }}
- name: "Create the reverse DNS zone {{ addc_reverse_zone_name }}"
community.general.expect:
# Note: The 'expect' module is in the 'community.general' collection
command: 'samba-tool dns zonecreate {{ addc_ansible_host }} {{ addc_reverse_zone_name }} -U Administrator'
command: "samba-tool dns zonecreate {{ addc_ansible_host }} {{ addc_reverse_zone_name }} -U Administrator"
responses:
# Use the '(?i)' flag for case-insensitive matching of the prompt.
'(?i)password for.*:': '{{ addc_admin_password }}'
'(?i)password for.*:': "{{ addc_admin_password }}"
no_log: true # Highly recommended to prevent the password from appearing in logs
- name: Create the PTR (reverse) DNS record