-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: Postgres secondary Prometheus 500GB data. New forum server. Adding youtube feeds to PuSH. Adding macOS screenshots. Updating ansible setup. #1890 (Add Auto to theme selector) #1247 (Mac Catalyst edition) Fixed a feed detail swipe starting on one row and ending on another causing the wrong row being marked unread Prep
- Loading branch information
Showing
35 changed files
with
276 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
|
||
github_directory: github.com/samuelclay/newsblur | ||
git_web_repo: ssh://git@{{ github_directory }} | ||
git_secrets_repo: ssh://[email protected]/samuelclay/newsblur-secrets | ||
|
@@ -17,16 +16,16 @@ sentry_task_release_webhook: "{{ lookup('ini', 'task_release_webhook section=sen | |
sentry_monitor_release_webhook: "{{ lookup('ini', 'monitor_release_webhook section=sentry file=/srv/secrets-newsblur/configs/sentry.ini') }}" | ||
sentry_node_release_webhook: "{{ lookup('ini', 'node_release_webhook section=sentry file=/srv/secrets-newsblur/configs/sentry.ini') }}" | ||
|
||
sys_packages: [ | ||
'git', | ||
'python3', | ||
'python3-dev', | ||
'zsh', | ||
'openssl', | ||
'libssl-dev', | ||
'libssl-doc', | ||
'build-essential', | ||
'ntp', | ||
'htop' | ||
] | ||
sys_packages: | ||
[ | ||
"git", | ||
"python3", | ||
"python3-dev", | ||
"zsh", | ||
"openssl", | ||
"libssl-dev", | ||
"libssl-doc", | ||
"build-essential", | ||
"htop", | ||
] | ||
grafana_password: "{{ lookup('ini', 'grafana_password section=grafana file=/srv/secrets-newsblur/configs/grafana.ini') }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: SETUP -> forum containers | ||
hosts: forum | ||
vars_files: | ||
- ../env_vars/base.yml | ||
vars: | ||
- update_apt_cache: yes | ||
- motd_role: app | ||
|
||
roles: | ||
- { role: "base", tags: "base" } | ||
- { role: "ufw", tags: "ufw" } | ||
- { role: "docker", tags: "docker" } | ||
- { role: "repo", tags: ["repo", "pull"] } | ||
- { role: "dnsmasq", tags: "dnsmasq" } | ||
- { role: "consul", tags: "consul" } | ||
- { role: "consul-client", tags: "consul" } | ||
|
||
- { role: "forum", tags: "forum" } | ||
- { role: "node-exporter", tags: ["node-exporter", "metrics"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- name: restart discourse | ||
become: yes | ||
docker_container: | ||
name: discourse | ||
state: restarted | ||
|
||
- name: reload ufw | ||
become: yes | ||
service: | ||
name: ufw | ||
state: reloaded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: Register forum in consul | ||
tags: consul | ||
become: yes | ||
template: | ||
src: consul_service.json | ||
dest: /etc/consul.d/forum.json | ||
when: disable_consul_services_ie_staging is not defined | ||
notify: | ||
- reload consul | ||
|
||
- name: Allow http | ||
become: yes | ||
ufw: rule=allow port=80 | ||
tags: ufw | ||
|
||
- name: Allow https | ||
become: yes | ||
ufw: rule=allow port=443 | ||
tags: ufw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"service": { | ||
"name": "{{ inventory_hostname|regex_replace('\d+', '') }}", | ||
"id": "{{ inventory_hostname }}", | ||
"tags": [ | ||
"forum" | ||
], | ||
"port": 80 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.