Commit d55fff2b authored by Chris Croome's avatar Chris Croome

debugging commented out

parent 6ba36399
......@@ -190,11 +190,11 @@
when: erpnext_sites_common_name_stat.stat.exists == False
- debug:
msg: "Shell command to be run: {{ erpnext_frappe_home }}/.local/bin/bench new-site --mariadb-root-username root --mariadb-root-password {{ mariadb_root_password }} --db-name erpnext --admin-password {{ erpnext_admin_password }} {{ common_name }}"
when: erpnext_sites_common_name_stat.stat.exists == False
tags:
- erpnext
#- debug:
# msg: "Shell command to be run: {{ erpnext_frappe_home }}/.local/bin/bench new-site --mariadb-root-username root --mariadb-root-password {{ mariadb_root_password }} --db-name erpnext --admin-password {{ erpnext_admin_password }} {{ common_name }}"
# when: erpnext_sites_common_name_stat.stat.exists == False
# tags:
# - erpnext
- name: Site created
shell: "{{ erpnext_frappe_home }}/.local/bin/bench new-site --mariadb-root-username root --mariadb-root-password {{ mariadb_root_password }} --db-name erpnext --admin-password {{ erpnext_admin_password }} {{ common_name }}"
......@@ -209,12 +209,12 @@
tags:
- erpnext
- debug:
msg: "{{ erpnext_bench_new_site.stdout_lines }}"
verbosity: 1
when: erpnext_sites_common_name_stat.stat.exists == False
tags:
- erpnext
#- debug:
# msg: "{{ erpnext_bench_new_site.stdout_lines }}"
# verbosity: 1
# when: erpnext_sites_common_name_stat.stat.exists == False
# tags:
# - erpnext
- name: Admin pasword for ERPNext written to /root/.erpnext.admin
shell: "echo {{ erpnext_admin_password }} > /root/.erpnext.admin"
......@@ -335,11 +335,6 @@
tags:
- erpnext
- debug:
msg: "The next shell command to run as the erpnext user: bench setup supervisor"
tags:
- erpnext
- name: bench setup supervisor
shell: "{{ erpnext_frappe_home }}/.local/bin/bench setup supervisor"
args:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment