style 💎: Update debug message for reverse DNS zone creation
Updated the debug message to include all required variables, ensuring accurate output and improved readability.
This commit is contained in:
@@ -5,7 +5,13 @@
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Create the reverse DNS zone #{{ addc_reverse_zone_name }}
|
||||
- name: vars
|
||||
ansible.builtin.debug:
|
||||
msg:
|
||||
"{{ addc_reverse_zone_name }} {{ addc_ansible_host }} {{ addc_admin_password }} {{ addc_ip_last_octet }} {{ addc_hostname }} {{ addc_auth_domain }}"
|
||||
|
||||
- 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"
|
||||
|
||||
Reference in New Issue
Block a user