Replaced " with '
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
# The samba-tool output usually contains the path on a specific line.
|
||||
# We extract the path using regex and the 'search' filter.
|
||||
ansible.builtin.set_fact:
|
||||
krb5_conf_path: "{{ samba_provision_output.stdout | regex_search('krb5.conf file is located at (.*)', '\\1') | first }}"
|
||||
krb5_conf_path: '{{ samba_provision_output.stdout | regex_search('krb5.conf file is located at (.*)', '\\1') | first }}'
|
||||
when: samba_provision_output.stdout is defined
|
||||
|
||||
- name: Copy krb5.conf to /etc/krb5.conf
|
||||
ansible.builtin.copy:
|
||||
src: "{{ krb5_conf_path }}"
|
||||
src: '{{ krb5_conf_path }}'
|
||||
dest: /etc/krb5.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
Reference in New Issue
Block a user