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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user