-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
password for admin should be Tunapanda2 tasks/main.yml changes didn't commit? migrate after populating db
- Loading branch information
Showing
22 changed files
with
68 additions
and
12 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
Binary file added
BIN
+291 Bytes
playbooks/roles/learninglocker/templates/backup/learninglocker/client.bson
Binary file not shown.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/client.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.client"}]} |
Empty file.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/documentapi.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.documentapi"}]} |
Binary file added
BIN
+278 Bytes
playbooks/roles/learninglocker/templates/backup/learninglocker/lrs.bson
Binary file not shown.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/lrs.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.lrs"}]} |
Binary file added
BIN
+614 Bytes
playbooks/roles/learninglocker/templates/backup/learninglocker/migrations.bson
Binary file not shown.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/migrations.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.migrations"}]} |
Binary file added
BIN
+180 Bytes
playbooks/roles/learninglocker/templates/backup/learninglocker/oauth_clients.bson
Binary file not shown.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/oauth_clients.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.oauth_clients"}]} |
Binary file added
BIN
+300 Bytes
playbooks/roles/learninglocker/templates/backup/learninglocker/site.bson
Binary file not shown.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/site.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.site"}]} |
Empty file.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/statements.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.statements"}]} |
Binary file added
BIN
+1.69 KB
playbooks/roles/learninglocker/templates/backup/learninglocker/system.indexes.bson
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/user_tokens.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.user_tokens"}]} |
Binary file added
BIN
+235 Bytes
playbooks/roles/learninglocker/templates/backup/learninglocker/users.bson
Binary file not shown.
1 change: 1 addition & 0 deletions
1
playbooks/roles/learninglocker/templates/backup/learninglocker/users.metadata.json
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 @@ | ||
{"indexes":[{"v":1,"key":{"_id":1},"name":"_id_","ns":"learninglocker.users"}]} |
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,24 @@ | ||
var db = db.getSiblingDB('learninglocker'); | ||
|
||
var updateAdmin = { | ||
email: '{{learninglocker__admin_email}}', | ||
name: '{{learninglocker__admin_user}}' | ||
}; | ||
|
||
var updateClient = { | ||
'api.basic_key': '{{learninglocker__xapi_user}}', | ||
'api.basic_secret': '{{learninglocker__xapi_pass}}', | ||
}; | ||
|
||
var updateLRS = { | ||
title: '{{learninglocker__lrs_name}}', | ||
description: '{{learninglocker__lrs_description}}', | ||
'users.0.email': updateAdmin.email, | ||
'users.0.name': updateAdmin.name | ||
}; | ||
|
||
db.users.update({ _id: ObjectId("555dd843b30b0d4f9a0041a7") }, { $set: updateAdmin }); | ||
|
||
db.client.update({_id: ObjectId("557c3f51b30b0d3d2c0041a7") }, { $set: updateClient }); | ||
|
||
db.lrs.update({ _id : ObjectId("555dd9c6b30b0d4f9a0041aa") }, { $set: updateLRS }); |
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,24 @@ | ||
var db = db.getSiblingDB('learninglocker'); | ||
|
||
var updateAdmin = { | ||
email: '[email protected]', | ||
name: 'vagrant' | ||
}; | ||
|
||
var updateClient = { | ||
'api.basic_key': 'caae95f54d6545c76fc289f02a3c1d51c455f7e6', | ||
'api.basic_secret': '40cb0287f95189298729f6ccc36f6277840604ad', | ||
}; | ||
|
||
var updateLRS = { | ||
title: 'Swag', | ||
description: 'Swag!', | ||
'users.0.email': updateAdmin.email, | ||
'users.0.name': updateAdmin.name | ||
}; | ||
|
||
db.users.update({ _id: ObjectId("555dd843b30b0d4f9a0041a7") }, { $set: updateAdmin }); | ||
|
||
db.client.update({_id: ObjectId("557c3f51b30b0d3d2c0041a7") }, { $set: updateClient }); | ||
|
||
db.lrs.update({ _id : ObjectId("555dd9c6b30b0d4f9a0041aa") }, { $set: updateLRS }); |