mirror of
https://github.com/frappe/bench.git
synced 2025-02-02 10:58:24 +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:
parent
4807f02c6a
commit
f90f7e141e
@ -15,7 +15,7 @@
|
|||||||
register: site_folder
|
register: site_folder
|
||||||
|
|
||||||
- name: Create a new site
|
- 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:
|
args:
|
||||||
chdir: "{{ bench_path }}"
|
chdir: "{{ bench_path }}"
|
||||||
when: not site_folder.stat.exists
|
when: not site_folder.stat.exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user