From 3b08c991cd22b5c03459bb4a00c8b03a3d282db2 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 6 Nov 2025 17:37:10 +0100 Subject: [PATCH] =?UTF-8?q?docs=20=F0=9F=93=9D:=20Update=20verify.yml=20do?= =?UTF-8?q?cumentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the 'create reverse dns zone' task with correct quotes around variable names, ensuring proper formatting and readability of the Ansible playbook. --- tasks/verify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/verify.yml b/tasks/verify.yml index a32129d..2ed259c 100644 --- a/tasks/verify.yml +++ b/tasks/verify.yml @@ -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