Browse Source

Remove password templates and move jupyter password into vault

The password which was stored in plain-text previously was not used on
any live instance.

Jupyter's documentation explains how to compute a new password hash:
http://jupyter-notebook.readthedocs.io/en/stable/public_server.html#preparing-a-hashed-password
remove-logs
Andreas Linz 3 years ago
parent
commit
5a7aa7e4aa
6 changed files with 26 additions and 30 deletions
  1. +0
    -1
      playbook.yml
  2. +0
    -4
      roles/common/defaults/main.yml
  3. +0
    -2
      roles/gitea/defaults/main.yml
  4. +0
    -2
      roles/grafana/defaults/main.yml
  5. +0
    -1
      roles/jupyter/defaults/main.yml
  6. +26
    -20
      vault_vars.yml

+ 0
- 1
playbook.yml View File

@ -7,7 +7,6 @@
domain_version: unknown
caddy_email: "{{ user_email }}"
caddy_restic_user: alinz
jupyter_password: 'sha1:7ba04f8b7db3:b647b05c2e317857828f9f4fc929b08d485f9c76'
web_root: /var/web
vars_files:
- vault_vars.yml

+ 0
- 4
roles/common/defaults/main.yml View File

@ -1,8 +1,4 @@
#user_name: default_user
#user_password: ThisIsInsecure
#user_email: user@email-provider.com
locale: en_US.UTF-8
domain: klingt.net
domain_version: unknown-version
db_name: klingt-net
#db_password: password

+ 0
- 2
roles/gitea/defaults/main.yml View File

@ -3,5 +3,3 @@ gitea_group: gitea
gitea_db_name: gitea
gitea_path: /usr/bin/gitea
gitea_port: 10000
#gitea_db_password: password
#gitea_admin_password: password

+ 0
- 2
roles/grafana/defaults/main.yml View File

@ -3,6 +3,4 @@ grafana_group: grafana
grafana_address: 127.0.0.1
grafana_port: 10002
grafana_db_name: grafana
grafana_db_password: ThisIsInsecure
grafana_domain: "grafana.{{ domain }}"
#grafana_password: password

+ 0
- 1
roles/jupyter/defaults/main.yml View File

@ -1,4 +1,3 @@
jupyter_user: jupyter
jupyter_group: jupyter
jupyter_port: 10001
#jupyter_password: 'sha1:<salt>:<password-hash>'

+ 26
- 20
vault_vars.yml View File

@ -1,21 +1,27 @@
$ANSIBLE_VAULT;1.1;AES256
61363031646631366533646363373138313536323739316538303839346339313832623563323336
6536336461656663396636353462363738633835616232610a626362633466613865343566366538
39646431633864353334343938346263383563336434356335616463316661656661666130306330
3264663936333066630a363263343965386632656263373137336337316233303430613436623133
32353266366265346334313161613135623537333432663035636433313938336438346536386134
62313234633563323163363030333039656136373966333363613461373639663038333364353564
62343662363161343163306563333464663065646336363461636339666137313936373334636162
62393838376466623765633065633031663562313630353831623831666335306364366366643130
36393237323031666535633461656164323536316564323865313264323562623765633961383163
31623664356432333961313163643139353663623437356337356162303464613662356365636162
31393865383736396433343961353062303161386331623032643139373639623834643835626433
34316266366335393132393937623336386431363933633364623033633737366365306663386661
64376362366632343735336438323530633434653632396661656537313966376631303862383035
34613830336136636539343061373332363363396663313030633235646635373332333138323636
32306563316465306464666365663963326537613264646462363232363939353865633861333231
66666463323964303235373061653230616435613730306463646166376236363330666362313538
36396462653166313961313030613735636235636437333638306664643935666131653732356431
33363664356331613033313965323332323332383064613664653135623964363532343838363461
30656132333038656666323934653732336239643433306466386235303336363737613530383161
33343761373939626565
38346264623737336134303939346633393237666237653866613832323264396566623265646433
3039343961653961396636626564666461393735643162350a316362316264636636646330613338
62643734613838306234303130346636633038373938333137323735643832356536306434326666
3063303731653736340a643163333734353063333466666136303231383636306334306231346633
33646633303238323533303631643762353861633065306163623236626139306132663139323533
61653064663665666531626461346464333330623232646331393932363938356133393837626334
32336661643665336562643966323732653631363237346431646231656339346264633238343439
37616338626536663036616264393038383161616335373239643064373736313935336364656130
36613132373664363861396132336535386330613566653865376462376637343265343137316439
33636263646635636463626537663763666637313062653161313966643265323166653036333336
31383631393738386537376432333661656330346335616236613833643862646138383566323264
65616461383335346130643037623639626136376532393864323264346233363332383134613734
35353532393631376139356536333839653033643566643039393435316433626365323632623830
64373131326438383734373132613363646261373032316164643232633262646462613964393834
38633938383432303862373737653430383265663837663330383930313135306230653262323735
66376161633438383765623961353139633563376132666261353466393563613265303934336138
33323364616663326531363266663966333066313535616661313738316165633933656231386464
62353061326566336336366530323433343137326631653632323562396534396362393633323863
65643465623633393431383235333830343434303538366363636232326636376230353635326630
31346664326439663539636662633463303831376465663232343530333262336131663766663733
64323337366563643736323666656336393263633538636133363638656534336463633434653730
66623637643962613462336433313237613233353331343566373637616536326266633265646239
31666133636138323434353865613437396165333661376537373164396439623162373965663661
31313339373432346533353166383863323561303737346363326237376365353434333434333838
39656363383464393162356630363438303362333262363066323265613862656566393231346337
3663363666643836336562326663323236656331353764353566

Loading…
Cancel
Save