Skip to content

Commit

Permalink
Start adding sidekiq to orangelight
Browse files Browse the repository at this point in the history
Co-authored-by: Max Kadel <[email protected]>
  • Loading branch information
sandbergja and maxkadel committed Jan 8, 2025
1 parent ad66b6b commit 1b5eb47
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/orangelight/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ rails_app_vars:
value: "{{ vault_ol_libanswers_client_secret }}"
sneakers_worker_name: orangelight-sneakers
sneakers_workers: EventHandler
sidekiq_worker_name: sidekiq
2 changes: 2 additions & 0 deletions playbooks/orangelight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
- ../group_vars/orangelight/{{ runtime_env | default('staging') }}_solr.yml
- ../group_vars/orangelight/vault.yml
roles:
- role: sidekiq_worker
when: "'indexer' in inventory_hostname"
- role: mailcatcher
- role: roles/postgresql
- role: roles/orangelight
Expand Down
8 changes: 8 additions & 0 deletions roles/deploy_user/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
run_once: true
tags: update_keys

- name: DEBUG DON'T COMMIT ME - inventory
ansible.builtin.debug:
var: hostvars[inventory_hostname]

- name: DEBUG DON'T COMMIT ME - keys
ansible.builtin.debug:
var: deploy_user_keys_from_github

- name: deploy_user | create the .ssh directory
ansible.builtin.file:
path: "/home/{{ deploy_user }}/.ssh/"
Expand Down

0 comments on commit 1b5eb47

Please sign in to comment.