Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
c4ac3713
Unverified
Commit
c4ac3713
authored
2 years ago
by
Keshav Prasad
Browse files
Options
Download
Patches
Plain Diff
fix: adding additional set of vars for sessions and graylog
Signed-off-by:
Keshav Prasad
<
keshavprasadms@gmail.com
>
parent
c9297de2
upstream/release-5.1.0-vdn
login-changes
loginRegisterBtn
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
1 merge request
!16
Release 5.1.0 api
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
private_repo/ansible/inventory/dev/Core/common.yml
+1
-1
private_repo/ansible/inventory/dev/Core/common.yml
private_repo/ansible/inventory/dev/Core/secrets.yml
+16
-2
private_repo/ansible/inventory/dev/Core/secrets.yml
private_repo/ansible/inventory/dev/DataPipeline/common.yml
+2
-0
private_repo/ansible/inventory/dev/DataPipeline/common.yml
private_repo/ansible/inventory/dev/KnowledgePlatform/common.yml
+2
-1
...e_repo/ansible/inventory/dev/KnowledgePlatform/common.yml
with
21 additions
and
4 deletions
+21
-4
private_repo/ansible/inventory/dev/Core/common.yml
+
1
−
1
View file @
c4ac3713
...
...
@@ -428,7 +428,7 @@ report_cassandra_server_count: "{{ groups['report-cassandra'] | length }}"
# graylog variables
graylog_open_to_public
:
true
# allows you to access via domain/graylog
send_logs_to_graylog
:
true
# agents
starts
send
ing
logs to graylog instead of ES
send_logs_to_graylog
:
true
#
filebeat
agents
will
send logs to graylog instead of ES
graylog_root_timezone
:
"
Asia/Kolkata"
# timezone
graylog_elasticsearch_discovery_enabled
:
"
true"
# auto discover ES nodes and version
graylog_allow_leading_wildcard_searches
:
"
true"
# allows wild card searching
...
...
This diff is collapsed.
Click to expand it.
private_repo/ansible/inventory/dev/Core/secrets.yml
+
16
−
2
View file @
c4ac3713
...
...
@@ -117,7 +117,7 @@ mongodb_keyfile_content: |
#
4. Again vist Admin Panel post restart -> Click on Plugins => Write API
#
5. Under MASTER TOKENS section, click on create token button, It will generate a token.
d
iscussionsmw_nodebb_authorization_token: # Read the comment above to generate this key
c
ore_vault_mail_server_password: "" # Email server password
c
ore_vault_mail_server_password: "" # Email server password
/ api token
#
Oauth keys
c
ore_vault_sunbird_google_oauth_clientId_portal: # Google oauth client id
...
...
@@ -126,6 +126,17 @@ core_vault_sunbird_google_captcha_site_key_portal: # Google recaptch site
g
oogle_captcha_private_key: # Google recaptch private key
l
earning_content_drive_apiKey: # Google drive api key
#
## Graylog ###
g
raylog_password_secret: "" # Random secret. Generate using the command: pwgen -s 96 1
g
raylog_root_password_sha2: "" # Random secret. Generate using the command: echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | sha256sum | cut -d" " -f1
#
# Portal anonymous, loggedin sessions default tokens and register token ##
#
Get the below tokens after running the OnboardConsumers job
s
unbird_anonymous_register_token: # Use the portal_anonymous_register consumer token
s
unbird_loggedin_register_token: # Use portal_loggedin_register consumer token
s
unbird_anonymous_default_token: # Use portal_anonymous_fallback_token consumer token
s
unbird_logged_default_token: # Use portal_loggedin_fallback_token consumer token
#
------------------------------------------------------------------------------------------------------------ #
#
Optional variables - Can be left blank if you dont plan to use the intended features
c
ore_vault_monitor_alerts_slack_url: "" # Slack webhook for alerts from alertmanager
...
...
@@ -183,4 +194,7 @@ ml_analytics_api_authorization_key: ApiAuthorizationKey
#
update if seperate object storage is used
c
loud_private_storage_secret: "{{ cloud_public_storage_secret }}"
c
loud_artifact_storage_secret: "{{ cloud_public_storage_secret }}"
\ No newline at end of file
c
loud_artifact_storage_secret: "{{ cloud_public_storage_secret }}"
#
Graylog
g
raylog_transport_email_auth_password: "{{ core_vault_mail_server_password }}" # email server password / api token
\ No newline at end of file
This diff is collapsed.
Click to expand it.
private_repo/ansible/inventory/dev/DataPipeline/common.yml
+
2
−
0
View file @
c4ac3713
...
...
@@ -288,3 +288,5 @@ processing_kafka_overriden_topics:
retention_time
:
86400000
replication_factor
:
1
# graylog
send_logs_to_graylog
:
true
# filebeat agents will send logs to graylog instead of ES
\ No newline at end of file
This diff is collapsed.
Click to expand it.
private_repo/ansible/inventory/dev/KnowledgePlatform/common.yml
+
2
−
1
View file @
c4ac3713
...
...
@@ -207,4 +207,5 @@ postgres:
db_admin_user
:
postgres
db_admin_password
:
"
{{dp_vault_pgdb_admin_password}}"
### Lern BB
# graylog
send_logs_to_graylog
:
true
# filebeat agents will send logs to graylog instead of ES
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets