Commit d98f76c6 by Fred Smith

add twofactor configuration variables

parent abc29f3b
......@@ -27,6 +27,16 @@ ALTON_REDIS_URL: 'redis://fakeuser:redispassword@localhost:6379'
ALTON_HTTPSERVER_PORT: '8081'
ALTON_WORLD_WEATHER_KEY: !!null
ALTON_AWS_CREDENTIALS: !!null
ALTON_TWOFACTOR_PRINCIPLE: "email@domain.org"
ALTON_TWOFACTOR_ISSUER: "Alton"
ALTON_TWOFACTOR_S3_BUCKET: "alton-twofactor"
ALTON_TWOFACTOR_S3_PROFILE: "aws"
ALTON_ADMIN_USERS:
- "some"
- "hipchat"
- "usernames"
ALTON_TWOFACTOR_SECRET: "CHANGEME"
ALTON_NOTIFY_CALLBACK_URL: "http://alton.hostname:{{ALTON_HTTPSERVER_PORT}}/notify/"
# Needed if you want to build AMIs from alton.
ALTON_JENKINS_URL: !!null
......@@ -59,6 +69,14 @@ alton_environment:
WILL_WORLD_WEATHER_ONLINE_KEY: "{{ ALTON_WORLD_WEATHER_KEY }}"
WILL_JENKINS_URL: "{{ ALTON_JENKINS_URL }}"
WILL_BOTO_CONFIG: "{{ alton_app_dir }}/.boto"
WILL_TWOFACTOR_PRINCIPLE: "{{ ALTON_TWOFACTOR_PRINCIPLE }}"
WILL_TWOFACTOR_ISSUER: "{{ ALTON_TWOFACTOR_ISSUER }}"
WILL_TWOFACTOR_S3_BUCKET: "{{ ALTON_TWOFACTOR_S3_BUCKET }}"
WILL_TWOFACTOR_S3_PROFILE: "{{ ALTON_TWOFACTOR_S3_PROFILE }}"
WILL_ADMIN_USERS: "{{','.join(ALTON_ADMIN_USERS) }}"
WILL_TWOFACTOR_SECRET: "{{ ALTON_TWOFACTOR_SECRET }}"
WILL_NOTIFY_CALLBACK_URL: "{{ ALTON_NOTIFY_CALLBACK_URL }}"
#
# OS packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment