Skip to content

Commit

Permalink
add new ED25519 keys for bibdata
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa committed Jan 5, 2025
1 parent bad8993 commit 8c41d0c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion group_vars/bibdata/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ bibdata_admin_netids:
- tpend
- bd4538
# The playbook is failing because of https://github.com/pulibrary/princeton_ansible/issues/4938
# deploy_id_rsa_private_key: "{{ lookup('file', '../roles/lib_sftp/files/id_rsa') }}\n"
# deploy_id_rsa_private_key: "{{ lookup('file', '../roles/lib_sftp/files/id_ed25519') }}\n"
alma_api_limit: 150000
2 changes: 1 addition & 1 deletion group_vars/sftp/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ sssd_bind_dn: "{{ vault_sssd_bind_dn }}"
sssd_bind_dn_password: "{{ vault_sssd_dn_password }}"
host_ad_name: sftp-staging1.princeton.edu
deploy_user_local_keys:
- { name: 'bibdata-worker-staging1', key: "{{ lookup('file', '../roles/lib_sftp/files/id_rsa.pub') }}" }
- { name: 'bibdata-worker-staging1', key: "{{ lookup('file', '../roles/lib_sftp/files/id_ed25519.pub) }}" }
2 changes: 1 addition & 1 deletion playbooks/lib_sftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
pre_tasks:
- set_fact:
deploy_id_rsa_private_key: "{{ lookup('file', '../roles/lib_sftp/files/id_rsa') }}\n"
deploy_id_rsa_private_key: "{{ lookup('file', '../roles/lib_sftp/files/id_ed25519') }}\n"

vars_files:
- ../group_vars/sftp/vault.yml
Expand Down
26 changes: 26 additions & 0 deletions roles/lib_sftp/files/id_ed25519
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
$ANSIBLE_VAULT;1.1;AES256
33626261386366316138383935636136393837383766303764373732626335333336656339616564
6635663038656437386130336665643731653938323438390a363165666231626233633039636663
66623733356534323137336538393739623666336231313438613030636134643235343662333539
3961373638366564660a633766353436666138303565366266333132333232346163613966326434
34383936366530303837353736636261356237303838316463333939366162356335343131643037
61663562366231316139373837363339396232326336303139346132373262656132353535626333
37313835323835386562343262613730643036646362356564643135366433383165666562666335
63396566316234336138353232633937313733373563323232323236333638646133616238366663
34363838323835313538643635366333316535393065656166373764383034316531363137313238
62373531353337623862363964646439366263396530623061393061666662656338636266376131
32386462623230323061656233363763633932396161393730333434376162383230383235643866
62366638306132646532346333613632626266626237376234303462386661346562663636346665
62353061383736663265616439346664343366646136303237663064623537356131353066356130
34376638383835326233313037326533386231613433623763333761333865356332623733616134
36616236333163353636323161363735363336383337626137616235376138616530613766636531
62346435656236613465363063393865666139656535656437373735626463663237613039653961
35623033353032303362633132666533343631616230383236383736366664666466346162656563
65373333306265643835303166303661626465373838343862313263663931303638363661373832
66653639656234303065336665656639643439623432346164363763303939313432346639343465
35306333386132666233366236636237376339313561643261363437323466666331653136623133
37343262633135626661646237323838666264666265313939656636353330663138326634613537
34323966633465646664323930313337336637356436633066353436616266643561323265376337
62373065396164663165643965666635663330353537346564613334306339366137333236376339
39356564306539313064633234653834383938313761343565393465656338313134333635613639
6438
1 change: 1 addition & 0 deletions roles/lib_sftp/files/id_ed25519.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOYKI/3/DEnIFR3LfNqgOJId2TZYS+mtTXSFDpGy2e2+ kayiwa@PU-W64L21WL50

0 comments on commit 8c41d0c

Please sign in to comment.