Projet

Général

Profil

0001-hobo-manage-cook-add-a-superuser-21882.patch

Anonyme, 23 février 2018 17:23

Télécharger (1,59 ko)

Voir les différences:

Subject: [PATCH] hobo-manage cook add a superuser (#21882)

 roles/deploy-tenants/defaults/main.yml                        | 5 +++++
 roles/deploy-tenants/templates/hobo-manage-recipe-with-wcs.j2 | 7 +++++++
 2 files changed, 12 insertions(+)
 create mode 100644 roles/deploy-tenants/defaults/main.yml
roles/deploy-tenants/defaults/main.yml
1
superuser_username: "admin"
2
superuser_email: "admin@localhost"
3
superuser_firstname: "admin"
4
superuser_lastname: "admin"
5
superuser_password: "admin"
roles/deploy-tenants/templates/hobo-manage-recipe-with-wcs.j2
3 3
    {"create-hobo": {
4 4
      "url": "https://{{tenants_conf['dev-hobo']}}/"
5 5
    }},
6
    {"create-superuser": {
7
      "username": "{{superuser_username}}",
8
      "first_name": "{{superuser_firstname}}",
9
      "last_name": "{{superuser_lastname}}",
10
      "email": "{{superuser_email}}",
11
      "password": "{{superuser_password}}"
12
    }},
6 13
    {"create-authentic": {
7 14
      "url": "https://{{tenants_conf['connexion-authentic']}}/",
8 15
      "title": "Connexion"
9
-