diff --git a/inventory/host_vars/local.timeoverflow.org/config.yml b/inventory/host_vars/local.timeoverflow.org/config.yml index f4c0ebe..251b114 100644 --- a/inventory/host_vars/local.timeoverflow.org/config.yml +++ b/inventory/host_vars/local.timeoverflow.org/config.yml @@ -17,3 +17,6 @@ developers: [] # Set 'development_environment' to "true" to skip SSL and nginx tasks development_environment: true + +# Set super admins email addresses +superadmins: 'admin@timeoverflow.org' diff --git a/inventory/host_vars/staging.timeoverflow.org/config.yml b/inventory/host_vars/staging.timeoverflow.org/config.yml index 3acd8d1..fe83a04 100644 --- a/inventory/host_vars/staging.timeoverflow.org/config.yml +++ b/inventory/host_vars/staging.timeoverflow.org/config.yml @@ -25,5 +25,8 @@ developers: # Set 'development_environment' to "true" to skip SSL and nginx tasks development_environment: false +# Set super admins email addresses +superadmins: 'admin@timeoverflow.org' + # Let's Encrypt conf certificate_authority_email: "info@coopdevs.org" diff --git a/roles/common/templates/default.j2 b/roles/common/templates/default.j2 index b6bfbd2..8dde1c6 100644 --- a/roles/common/templates/default.j2 +++ b/roles/common/templates/default.j2 @@ -5,4 +5,7 @@ DATABASE_PASSWORD={{ database_password }} SECRET_TOKEN={{ secret_token }} MAIL_LINK_HOST=www.timeoverflow.org MAILER_SENDER={{ mailer_sender }} +{% if skylight_authentication is defined %} SKYLIGHT_AUTHENTICATION={{ skylight_authentication }} +{% endif %} +ADMINS={{ superadmins }}