bitwarden_rs: Configure BURP client

This commit configures *bw0.pyrocufflink.blue* as a BURP client, so that
the Bitwarden data can be backed up.  A pre-backup script is used to
take a consistent snapshot of the SQLite database before copying it to
the BURP server.
jenkins-master
Dustin 2019-09-19 18:40:56 -05:00
parent e095f64126
commit 6e57abfe2e
4 changed files with 16 additions and 0 deletions

View File

@ -1 +1,4 @@
bitwarden_domain: https://bitwarden.pyrocufflink.blue
burp_backup_script_pre: backup-pre.sh
burp_backup:
- include: /var/lib/docker/volumes/bw-data/_data

1
hosts
View File

@ -8,6 +8,7 @@ file0.pyrocufflink.blue
bw0.pyrocufflink.blue
[burp-client]
bw0.pyrocufflink.blue
file0.pyrocufflink.blue
[burp-server]

View File

@ -0,0 +1,4 @@
#!/bin/sh
sqlite3 /var/lib/docker/volumes/bw-data/_data/db.sqlite3 \
".backup '/var/lib/docker/volumes/bw-data/_data/db-backup.sqlite3.gz'"

View File

@ -0,0 +1,8 @@
$ANSIBLE_VAULT;1.1;AES256
34366336636436373264626537373539363937363165326135333135323931366535323264383938
3662353965373234366530663636323366386462366331370a626139626539316532626237636639
62343765386663646166666466623466366632613461323965663436366630366530363738393435
6431353833396661660a666635616134636236333239613739313537646335383763333735346663
61386230386463323261373836633066303830323733663562616666613866313862306265353566
30323031313636643634633936333332373934383536623234633664616162336136666537646638
326464393430653630386634313138373465