better messages for deploy-tenant (#21882)

This commit is contained in:
Elias Showk 2018-03-01 16:46:59 +01:00
parent 9c85b794c0
commit 4fa21e240f
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
- debug :
msg: |
"IF {{ tenants_conf['dev-hobo'] }} or any sub-domain from 'tenants_conf' vars is unreachable, this playbook will block and fail. Check the README.rst to set sub-domains first"
"IF {{ tenants_conf['dev-hobo'] }} or any sub-domain from 'tenants_conf' DNS is not configured locally, this playbook will block and fail. Check the documentation."
- name : compile site-options.cfg
template:
@ -30,5 +30,9 @@
src: templates/hobo-manage-recipe-with-wcs.j2
dest: "{{wcs_dev_template_path}}"
- name: Run command hobo-manage to initiate the development subdomains
- name: Run command hobo-manage to initiate the development subdomains and a super-user
command: "{{venv_bin}}/hobo-manage cook {{wcs_dev_template_path}} --timeout=600"
- debug :
msg: |
"Houra ! Go and click manage on this URL https://{{tenants_conf['user-combo']}} with username = {{superuser_username}} and password = {{superuser_password}}"