Skip to content

Commit

Permalink
Move abid group vars into nomad subdir
Browse files Browse the repository at this point in the history
advances pulibrary/abid#182

Co-authored-by: Eliot Jordan <[email protected]>
  • Loading branch information
hackartisan and eliotjordan committed Jan 15, 2025
1 parent 4b30b9b commit b2513c1
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 0 deletions.
19 changes: 19 additions & 0 deletions group_vars/nomad/abid/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
abid_production_secret_key_base: '{{vault_abid_production_secret_key}}'
abid_production_db_name: 'abid_prod'
abid_production_db_user: 'abid_production'
abid_production_db_password: '{{ vault_abid_production_db_password }}'
abid_production_postgres_host: 'lib-postgres-prod1.princeton.edu'
abid_production_postgres_admin_user: "postgres"
abid_production_postgres_version: 15
abid_production_nomad_env_vars:
ABID_SECRET_KEY_BASE: '{{ abid_production_secret_key_base }}'
APP_DB: '{{ abid_production_db_name }}'
APP_DB_USERNAME: '{{ abid_production_db_user }}'
APP_DB_PASSWORD: '{{ abid_production_db_password }}'
APP_DB_HOST: '{{ abid_production_postgres_host }}'
HONEYBADGER_API_KEY: '{{ vault_abid_honeybadger_key }}'
ASPACE_USER: '{{ vault_abid_aspace_production_user }}'
ASPACE_PASSWORD: '{{ vault_abid_aspace_production_password }}'
ALMA_API_KEY: '{{ vault_abid_alma_prod_key }}'
RAILS_MASTER_KEY: '{{ vault_rails_master_key }}'
19 changes: 19 additions & 0 deletions group_vars/nomad/abid/staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
abid_staging_secret_key_base: '{{vault_abid_staging_secret_key}}'
abid_staging_db_name: 'abid_staging'
abid_staging_db_user: 'abid_staging'
abid_staging_db_password: '{{ vault_abid_staging_db_password }}'
abid_staging_postgres_host: 'lib-postgres-staging1.princeton.edu'
abid_staging_postgres_admin_user: "postgres"
abid_staging_postgres_version: 15
abid_staging_nomad_env_vars:
ABID_SECRET_KEY_BASE: '{{ abid_staging_secret_key_base }}'
APP_DB: '{{ abid_staging_db_name }}'
APP_DB_USERNAME: '{{ abid_staging_db_user }}'
APP_DB_PASSWORD: '{{ abid_staging_db_password }}'
APP_DB_HOST: '{{ abid_staging_postgres_host }}'
HONEYBADGER_API_KEY: '{{ vault_abid_honeybadger_key }}'
ASPACE_USER: '{{ vault_abid_aspace_staging_user }}'
ASPACE_PASSWORD: '{{ vault_abid_aspace_staging_password }}'
ALMA_API_KEY: '{{ vault_abid_alma_sandbox_key }}'
RAILS_MASTER_KEY: '{{ vault_rails_master_key }}'
56 changes: 56 additions & 0 deletions group_vars/nomad/abid/vault.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
$ANSIBLE_VAULT;1.1;AES256
36343433333461393832333161386461643335636265356330363065636563653936613530646232
3135313131346232646134383164363139636664666435300a363765636665373032346539386564
62666564646264663337366635346262363135626536303237303631376434363435653234313939
3739323963306130610a373530316439303734616631313636303566643962623062373237333561
33636231363733306662623239643636343265653733346263373431663761376361323236656263
39323934313032313138356535323364326330353038623665383966386332326439343764396166
63373061663438393532346232303532616265663364333835623532366537353333343061353865
64626331613137633464656165393166653434353031626235396337636234616335613262313666
30353436333732383431333033653033303464653733656231333361616131613663323337383066
32653764306663396666343233363839333632383533363936616333626465306463306164333161
38623261306362633738303436323431386139613234346565393665373364636362613835663663
65393966396135376463306130636533656466393838313836366339323361363937633261353062
39343639383032643337386331373462633065393035646438383032616432373866376431666134
66383935623365393633366130363033376634336561363434623762326362323131383633393036
38353365393031633030653463613564353236643534633831373836356465373864383030613533
35383364313033323263313762393535636239653766613762613232313063386333663036626234
33326363336466323261316462393966313363343730313236646365326165336539386132353533
31646565633734346264396565396366643266393331663032366134303837353164373731396338
31656338613939306665643466626539623937353234383161396466656133653333323432393931
34343036396333633833336336326638333261633037313966383337333331363064613061346132
34333430633139666631373039316133643137396438303737363264323061623838363537373063
32653933363736346236373063356630303063313363383032633939656161366233643438373831
36376630643663396430303533353466623334643264633933653465323837306562623364626263
33396437316461643835643732363737613339366666643834396464363261666330656138643464
31666165376663333664616639373138643962393431663365613563656362666236326166663330
31666266393266663233323333623164643139666165333337373031666533356238303234363639
63323863303430623232376565666235343337356662323963386233336261346466653731333961
62363230633961393139656134306334653961613836626630646563343965383638646139623863
62356238373033643635636234643239306363663164376130376163326263643661383533613537
63346161326562636233643166326561343830366265333166343166643531653235396233386263
61306435363461666531653535376537616634353634633565633333666166323338653866393062
39656536396665383932643237633136323539316363626165373165363339633635316132303763
66623364333932386431353431633363353166633035313937643431343366303261633537633839
31356164333039643066323033353461343530383932346433636532323236353464653364643834
65646333393134333833346666353135633665333033656435633365383465353136373366343936
31336634663361623361376538353263366466626533393163323730386438363764343462663334
34616365616132303437353435663739366466366563383166613762363064613639616363633864
61633632366563643963663130353331663938346138303032323636326562383566353937346230
64353463353764653332313263666339313962383030653061623038376531663663373334323739
62643163653431363163313836613337356664613335333865333231346331656539396266366435
38353136313138373264633233373239343362666263366130356638343961323737356163663533
31376536386132653261663866393733626332656233613035363430316261326635376239303533
65613239373939633337666365326230356331313537306163663361376130333438396630316434
63663862376266376631306264376335356639636639363864366639353537623465363633643539
33616363393432393631383161383937616535386236383734313461613936633134306361656530
38613534373434323335323765373731323666373261623162386135303339383632316437343763
64666636383735323032386132366436353433373631666338376263616266646138363664616333
66323665313636613964616539323138643035623631313232333930623432356530636134323739
37636635323237353165646663376465643865333830386338393537316332353436306133353033
39626431326561663732353030316534653533626535363036613263326164306432373663376434
65366632366330326238323134646661306166376164326238376230643133373931386466353562
32316235323236346531353339363139393737623534666133663539303062323130333833623332
34613466383334303533623635643565353266666430613230353439306239353139363266343038
30376435646464343461636261613130353330356663306433643331366365666232636334623335
626239396363313463616665333036363464

0 comments on commit b2513c1

Please sign in to comment.