-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace http with https and fake cert in local VMs #896
Changes from 5 commits
4431c7a
fe83ee4
daf1357
3c9418d
a84e8b6
6980826
d071bab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
exec ansible-lint site.yml playbooks/*.yml --exclude community |
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,38 @@ | ||||||
rails_env: "staging" | ||||||
|
||||||
ssl_certificate: "/etc/ssl/certs/ssl-cert-snakeoil.pem" | ||||||
ssl_certificate_key: "/etc/ssl/private/ssl-cert-snakeoil.key" | ||||||
|
||||||
# See https://github.com/openfoodfoundation/ofn-install/wiki/Setup for more info | ||||||
checkout_zone: Australia | ||||||
country_code: AU | ||||||
currency: AUD | ||||||
locale: en | ||||||
language: en_AU.UTF-8 | ||||||
language_packages: | ||||||
- language-pack-en-base | ||||||
l10n_repo: https://github.com/openfoodfoundation/l10n_au.git | ||||||
timezone: Melbourne | ||||||
|
||||||
developer_email: [email protected] | ||||||
|
||||||
users_sysadmin: | ||||||
- "{{ core_devs }}" | ||||||
|
||||||
# Test host configuration | ||||||
# This is usually set in the host config but the same for all local containers. | ||||||
domain: localhost | ||||||
|
||||||
admin_email: [email protected] | ||||||
mail_domain: example.com | ||||||
|
||||||
# Add missing vars to emulate /local_vagrant/secrets.yml | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the exact path of secrets.yml is unimportant here:
Suggested change
|
||||||
db_password: 'f00d' | ||||||
admin_password: 'ofn123' | ||||||
secret_token: '511a3d0fa1551b9fa75a1aef5b47684905c64807963fa2c190272878366365' | ||||||
google_maps_api_key: 'xxx' | ||||||
|
||||||
mail_host: 'example.com' | ||||||
mail_port: 25 | ||||||
smtp_username: 'admin' | ||||||
smtp_password: 'password' |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing as the whole section below is pertaining to test/local hosts, maybe we can make this look more like section comment:
(I'm not sure if we have another convention in this codebase already, or you have a different preference. If so pls update!)