X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=environments%2Fglobal%2Froles%2Fcryptoportfolio.yaml;h=661af2de8a694e0dbc1139789da63dcbb8c3d72f;hb=f22a16c82d482441b8e1d815bfd90fce22ec6ce8;hp=3d36e711b79b02706062000fcad8dd35e12d5934;hpb=96d61e22a20255c2b437eb3a3b81f9b44a1814de;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/environments/global/roles/cryptoportfolio.yaml b/environments/global/roles/cryptoportfolio.yaml index 3d36e71..661af2d 100644 --- a/environments/global/roles/cryptoportfolio.yaml +++ b/environments/global/roles/cryptoportfolio.yaml @@ -1,4 +1,18 @@ --- classes: role::cryptoportfolio: ~ -cryptoportfolio::slack_webhook: "%{ldapvar.self.vars.cf_slack_webhook.0}" +letsencrypt::hosts: "%{lookup('base_installation::system_hostname')}" +role::cryptoportfolio::user: "cryptoportfolio" +role::cryptoportfolio::group: "cryptoportfolio" +role::cryptoportfolio::home: "/home/cryptoportfolio" +role::cryptoportfolio::env: "prod" +role::cryptoportfolio::webhook_url: "" +role::cryptoportfolio::pg_db: "cryptoportfolio" +role::cryptoportfolio::pg_user: "cryptoportfolio" +role::cryptoportfolio::web_host: "%{lookup('base_installation::system_hostname')}" +role::cryptoportfolio::web_port: "" +role::cryptoportfolio::web_ssl: true +base_installation::system_users: + - username: "%{lookup('role::cryptoportfolio::user')}" + system: true + password: "!!"