Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions grafana_monitoring/group_vars/grafana/vars
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ dev_influx_password: "{{ vault_dev_influx_password }}"
grafana_admin_password: "{{ vault_grafana_admin_password }}"
meerkat_db_username: "{{ vault_meerkat_db_username }}"
meerkat_db_password: "{{ vault_meerkat_db_password }}"
dev_chatops_prometheus_username: "{{ vault_dev_chatops_prometheus_username }}"
dev_chatops_prometheus_password: "{{ vault_dev_chatops_prometheus_password }}"
prod_chatops_prometheus_username: "{{ vault_prod_chatops_prometheus_username }}"
prod_chatops_prometheus_password: "{{ vault_prod_chatops_prometheus_password }}"
87 changes: 49 additions & 38 deletions grafana_monitoring/group_vars/grafana/vault

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with this Grafana vault file, is this value a secret? Or just a reference to the ChatOps datasource?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an Ansible Vault https://docs.ansible.com/ansible/latest/vault_guide/index.html

It is the same as the vars file which just stores variables to be used during the play but they are encrypted instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this project it stores the passwords to access the datasources in the repository so we don't need multiple Keeper records and can just have one vault record which unlocks all the secrets in this vault.

Original file line number Diff line number Diff line change
@@ -1,39 +1,50 @@
$ANSIBLE_VAULT;1.1;AES256
63346634393432336131326563616138353161663661383337626265366231633163333837373235
3735626430393937303763303562333564376233356531610a303837613334633463653634633630
30366136633461383264326430383165366363303666633765346139653932616133363539623933
3261373731306239340a626434653961373964333537333065363063666165396663363937383564
65663131623834346235356563396136653565653233393730666162396631663134353265303038
36363866366364653062303532396131393461633566363864393039313161346530333638636533
36653133653235353065626663353739616163393435636461623964656533343435366563633637
65363533356131353765366134653766623035383864623166373633636637343866323762633431
65393561386236303135663032663435366264363530373335376636386438613238383536323938
35336336663236323734616364623131303931313661323831353333646266663162363839376336
37333933363437643666363937663138323964373131396534346162633239636362383238343132
66383538356433613930653431393338663631633330363131646237623136653137393162326636
64303163313737333132313936633735646263393161666665373865356639346636616432333030
39396330383531376663303338356132356230663039316138386634393438353864623731663533
33326135303633353633366232363766623331363365616161333163373536366139363363643831
65633132333033616131646162666239343034323864333465663035336365303261663932366264
33376665613636373864343562313931323566303138373635333432643763653662363933623130
61656235386564306262323964663563623634363337386134356134303064323962333133353338
63333738616366343361303263386431353637623435386535623063343763626436666334653031
34643661313937346164626162306133646464356130333534643731656639343032666164353839
34363832326161396136333766333833323034343233656261616539643065636538303364373164
63643031613230316336316139303632313666396664613039643131333038343161363234663838
30663261303537636132643532316637373865616138306233333437353237646133373466353033
62323233643161646330393734353361333761613139353432633839656238613061656563353863
32383238623262303336646138613366636330643332376363633361363939363663346465336232
66383534353333633930623931346337383137313234336662633264393935636339313236643532
30373235653930396333356231653839653335343261333363636365613633333639383062653364
39373030343935663438643363653262653438336434616433336464373461376466636265383633
36623531306164383366383330376238343537373061356332663232393632323462366131383538
65336234373363373930666339393634333763666665623238656264383635656438626362353461
31363439393361396336633333303932303866306337653738653061346334356230626632336631
63396539366366353331616433386461613464333761653132316665343635646462386636363537
64663565396165623333376365613233323130303633363535386338666162353637316538326136
38326438646438613061326139363661373237333061363635333732303864313538333937626334
37313330393565373336643233396630633363623032353736366539393234353734636261383331
65343434653338323438303336396436663265306266626364333865386534316434393530613663
36363463643731333161616333626365373764636537363365626264313463376530653933626466
6365323538313032303131346433626634333665366134653539
38656638313565333761333132383638313636386439643833613136626630333264356435383837
3564303538343038343663356665663861613039626232370a343139326234303962303265303266
66643139646661313262396531666237366662666531646637363536373035396434343635343632
6133386234643966610a386363316433306464326365623962323130653861383530303033316363
35393832613564616237306634366135303564356131623164346632666537626231363865393437
62333037363661316337323337633463376262316236333037646233393639336664323561303632
39663665623665353062316265336563646163656662633734303336353937633465623839306338
32646134356233353462666262303432633562626265653538623035393361643236613738373931
32376263653634386537636665363931353933663337326336666464656134393836653332323033
64333837396434663938623935643037313862633165336637656636323030336366373132656364
65353663343336333235346332316132356532633033323236386465323638383232623532393631
64383239336134633239616434313136666437653937616563353333663934366163363237626366
35396264653432303035353737323636663831326630316566343262376134316137353063663339
38613637333139363633366532383161303938346639323565616336326565643762656362356365
65626365666665326462643831303631376436353730623166373837656663366639316463633133
62356333396638666436656361623034393538356465643535393039343434393737316534663565
66653334626639666636323334393263313166303039376135353032353063306266313461316365
65356234643732306433656633363430346330383965616231333432646633363135396636616361
62386330623130316564303135373661353966386534653266616334373334333434613264653439
34303336393537343134663662316364366233386434666637643463336234666633333634363639
37313462623433663739313234623432383535653933303237616666306534323233316239333836
35353132643838626332386532646463363464373730643961316565633462333462383766346561
65653337353864393739613864633961663465353430623132303032636536313133393936666437
38366336333832666364306363653266343234356134626462376564313438333838386562626239
62313838316566633165633761373465373034343139313661613737306134343838666665636539
64663236396565323434336334646435633938613832393565333734633634646561653634643561
64333966663936333565663030326536613962313563363762393339626339373564616231383133
65303762366437363233333230383364656134633932306563336138666364626235356333323131
64653334633937616163613838316439623137633265663030613039376232656638346632303933
34626638346566626465626339353735313062383835643639616237353365616533663833396261
30656564333931613734363532393234393936363461326239363635393865326266303230336463
30666164393636326133663132663230343537643166303730373534653861313936646334656331
36393237303538616632316139343663643462323434333931666132386331373166366665323130
31653537363934353533383739623036663362336533303639343035346434613433356166653735
35613630623562643065346365646663376533373731333333616630616332656630306231396431
35333961373065623133376630393039353866666164343930396363653736316331313831323732
39353863663338353363363362653833343630386431666338626262353565633363373663393234
66623161333133336339363134643837633330663961316132316437303338313362323434343666
39653536636432616236636662616634383335613966366636626535373761353434336365386163
34643466616536356134353132393639383166306238383338396639356430653162323561613964
63346337653634373662363138623137663333623432376135353533386466326637323939666237
31336136333035623434396131633430653064343163613632613962386665396234313231353361
63613430313665663139656337626637363730613830333239373833323139393562663235363337
38656531633761366336633562326535343864643461396430313937633330336538333361353534
63653633356333393264313230653639373566316333363665333466333838316638373232313562
63353363646638343165306665653132653062616631333166653266396464663538646539623531
37363135353538653332336534323837323931373065363935383439303932633933363037393861
31366331306532373030663265393532366461623230653363346165356466636236323933653832
30623635313132643364396238656437323532613637613237353563383063323038
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,25 @@ datasources:
maxSeries: 200
secureJsonData:
password: {{ dev_influx_password }}

- name: DevChatOps
type: prometheus
uid: "dev-chatops"
access: proxy
url: https://prometheus.dev-cloud-chatops.nubes.rl.ac.uk
isDefault: false
basicAuth: true
basicAuthUser: {{ dev_chatops_prometheus_username }}
secureJsonData:
basicAuthPassword: {{ dev_chatops_prometheus_password }}

- name: ProdChatOps
type: prometheus
uid: "prod-chatops"
access: proxy
url: https://prometheus.cloud-chatops.nubes.rl.ac.uk
isDefault: false
basicAuth: true
basicAuthUser: {{ prod_chatops_prometheus_username }}
secureJsonData:
basicAuthPassword: {{ prod_chatops_prometheus_password }}