2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Add single quotes around password variables in ansible script

As mentioned in #657 admin and mysql root password with whitespaces
aren't recognized properly by shell adding single quotes around them
fixes this issue.
This commit is contained in:
Aditya Hase 2018-07-02 16:24:53 +05:30
parent 4807f02c6a
commit f90f7e141e

View File

@ -15,7 +15,7 @@
register: site_folder
- name: Create a new site
command: "bench new-site {{ site }} --admin-password {{ admin_password }} --mariadb-root-password {{ mysql_root_password }}"
command: "bench new-site {{ site }} --admin-password '{{ admin_password }}' --mariadb-root-password '{{ mysql_root_password }}'"
args:
chdir: "{{ bench_path }}"
when: not site_folder.stat.exists