From a25b5f82989b0e1c4abbfe0feca7f836a608c7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 19 Mar 2019 01:10:27 +0100 Subject: Caldance updates --- environments/global/roles/caldance.yaml | 8 ++++++++ environments/integration/roles/caldance.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 environments/integration/roles/caldance.yaml (limited to 'environments') diff --git a/environments/global/roles/caldance.yaml b/environments/global/roles/caldance.yaml index 1dc7fa8..98382bf 100644 --- a/environments/global/roles/caldance.yaml +++ b/environments/global/roles/caldance.yaml @@ -2,3 +2,11 @@ classes: role::caldance: ~ letsencrypt::hosts: "%{lookup('base_installation::system_hostname')}" +role::caldance::user: "caldance" +role::caldance::group: "caldance" +role::caldance::home: "/home/caldance" +role::caldance::web_host: "%{lookup('base_installation::system_hostname')}" +base_installation::system_users: + - username: "%{lookup('role::caldance::user')}" + system: true + password: "!!" diff --git a/environments/integration/roles/caldance.yaml b/environments/integration/roles/caldance.yaml new file mode 100644 index 0000000..6a8ef9a --- /dev/null +++ b/environments/integration/roles/caldance.yaml @@ -0,0 +1,8 @@ +--- +role::caldance::caldance_version: ~ # Overriden in LDAP +role::caldance::caldance_sha256: ~ +role::caldance::pg_db: "caldev" +role::caldance::pg_user: "caldev" +role::caldance::mail_from: "caldev-nepasrepondre@mail.immae.eu" +role::caldance::smtp_host: "mail.immae.eu" +role::caldance::smtp_port: "465" -- cgit v1.2.3