From 99566148e58af997115cf440db2b30281d89d959 Mon Sep 17 00:00:00 2001 From: Elias Showk Date: Thu, 1 Mar 2018 16:46:59 +0100 Subject: [PATCH] better messages for deploy-tenant (#21882) --- roles/deploy-tenants/tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/deploy-tenants/tasks/main.yml b/roles/deploy-tenants/tasks/main.yml index 338daef..5a579b5 100644 --- a/roles/deploy-tenants/tasks/main.yml +++ b/roles/deploy-tenants/tasks/main.yml @@ -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}}" -- 2.16.1