Replaced " with '

This commit is contained in:
2025-11-04 19:22:07 +01:00
parent 3e62e137da
commit a95fbd4822
8 changed files with 62 additions and 62 deletions

View File

@@ -6,7 +6,7 @@
- name: Remove smb.conf if server role conflicts
ansible.builtin.shell: |
if grep -q "server role = standalone server" /etc/samba/smb.conf 2>/dev/null; then
if grep -q 'server role = standalone server' /etc/samba/smb.conf 2>/dev/null; then
mv /etc/samba/smb.conf /etc/samba/smb.conf.bak.$(date +%s)
fi
args:
@@ -22,9 +22,9 @@
--domain={{ samba_domain_info.domain }}
--server-role={{ samba_domain_info.server_role }}
--dns-backend={{ samba_domain_info.dns_backend }}
--adminpass="{{ addc_admin_password }}"
--option="interfaces={{ samba_domain_info.interfaces }}"
--option="bind interfaces only={{ samba_domain_info.bind_interfaces_only }}"
--adminpass='{{ addc_admin_password }}'
--option='interfaces={{ samba_domain_info.interfaces }}'
--option='bind interfaces only={{ samba_domain_info.bind_interfaces_only }}'
when: not samba_provisioned.stat.exists
register: samba_provision_output
changed_when: samba_provision_output.rc == 0