Merge branch 'master' of git.fudiggity.nl:ansible/newsreader

This commit is contained in:
sonny 2021-11-06 20:24:27 +01:00
commit ac4d84ba3f
4 changed files with 24 additions and 0 deletions

View file

@ -36,6 +36,7 @@
- import_tasks: 'handlers.yml'
vars_files:
- 'vars/app.yml'
- 'vars/email.yml'
- 'vars/main.yml'
- 'vars/network.yml'
- 'vars/postgres.yml'

View file

@ -7,6 +7,14 @@ POSTGRES_PASSWORD="{{ pgbouncer_password }}"
DJANGO_SETTINGS_MODULE="{{ django_settings_module }}"
DJANGO_SECRET_KEY="{{ django_secret_key }}"
EMAIL_HOST="{{ email_host }}"
EMAIL_PORT="{{ email_port }}"
EMAIL_HOST_USER="{{ email_user }}"
EMAIL_HOST_PASSWORD="{{ email_password }}"
EMAIL_USE_TLS={{ email_tls }}
EMAIL_USE_SSL={{ email_ssl }}
EMAIL_DEFAULT_FROM="{{ email_user }}"
REDDIT_CLIENT_ID="{{ reddit_client_id }}"
REDDIT_CLIENT_SECRET="{{ reddit_client_secret }}"
REDDIT_CALLBACK_URL="{{ reddit_callback_url }}"

14
vars/email.yml Normal file
View file

@ -0,0 +1,14 @@
email_host: 'smtp.transip.email'
email_port: 465
email_user: 'services@fudiggity.nl'
email_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
37316661346236386438646338633536623266323432386330383037353932366531643736333462
3264326231626231663233333731636134653135343730650a393666333766353261653661323436
66393963646435626163626464383136373239373235653065383265306264393961616230366632
3734386465653235340a656538313935316565623263363764383536326363313361626665313365
37653136393464636433303866326564336365356538613036656338343938373535346437613233
32656531366135636634633939346364373331646532616139663165636637333333393639613033
636565306164653538653330613432323136
email_tls: ''
email_ssl: 'true'

View file

@ -15,6 +15,7 @@ packages:
- python-setuptools
- python-virtualenv
- rabbitmq-server
- rustc # for building cryptograhpy
gitlab_host_key: 'git.fudiggity.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICNmvcxza79T7JZMkifmquwXH/kMUqDnKs9Oob+JrRvn'
gitlab_domain: 'git.fudiggity.nl'