Projet

Général

Profil

0001-better-messages-for-deploy-tenant-21882.patch

Anonyme, 01 mars 2018 16:47

Télécharger (1,48 ko)

Voir les différences:

Subject: [PATCH] better messages for deploy-tenant (#21882)

 roles/deploy-tenants/tasks/main.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
roles/deploy-tenants/tasks/main.yml
1 1
- debug :
2 2
    msg: |
3
      "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"
3
      "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."
4 4

  
5 5
- name : compile site-options.cfg
6 6
  template:
......
30 30
    src: templates/hobo-manage-recipe-with-wcs.j2
31 31
    dest: "{{wcs_dev_template_path}}"
32 32

  
33
- name: Run command hobo-manage to initiate the development subdomains
33
- name: Run command hobo-manage to initiate the development subdomains and a super-user
34 34
  command: "{{venv_bin}}/hobo-manage cook {{wcs_dev_template_path}} --timeout=600"
35

  
36
- debug :
37
    msg: |
38
      "Houra ! Go and click manage on this URL https://{{tenants_conf['user-combo']}} with username = {{superuser_username}} and password = {{superuser_password}}"
35
-