X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=blobdiff_plain;f=environments%2Fglobal%2Froles%2Fcryptoportfolio.yaml;h=f875c1b8a0a1f736e8a5fd01ba9a79521ba7412e;hp=3d36e711b79b02706062000fcad8dd35e12d5934;hb=0a21fb6c2c52ca5cc2dfdfc41ca0a51c0d81296c;hpb=96d61e22a20255c2b437eb3a3b81f9b44a1814de diff --git a/environments/global/roles/cryptoportfolio.yaml b/environments/global/roles/cryptoportfolio.yaml index 3d36e71..f875c1b 100644 --- a/environments/global/roles/cryptoportfolio.yaml +++ b/environments/global/roles/cryptoportfolio.yaml @@ -1,4 +1,19 @@ --- 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: "%{ldapvar.self.vars.cf_slack_webhook.0}" +role::cryptoportfolio::pg_db: "cryptoportfolio" +role::cryptoportfolio::pg_user: "cryptoportfolio" +role::cryptoportfolio::pg_user_replication: "cryptoportfolio_replication" +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: "!!"