Skip to content

Commit

Permalink
Merge pull request #554 from ucb-rit/install_billing_id_validator_dep…
Browse files Browse the repository at this point in the history
…endency

Install dependency for package for validating LBL billing IDs
  • Loading branch information
matthew-li authored Jul 26, 2023
2 parents 83e8584 + 7ecc0da commit 1909fd0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bootstrap/ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,22 @@
environment: # needed as pg_config isn't in PATH by default
PATH: "{{ ansible_env.PATH }}:/usr/pgsql-{{ postgres_version }}/bin"

- name: Add Oracle yum repository
yum_repository:
name: oracle-repository
description: oracle repository
baseurl: https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient21/x86_64/
# https://linux.oracle.com/security/gpg/
gpgkey: https://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
when: install_billing_validation_package

- name: Install Oracle dependency for Python package for validating LBL billing IDs
yum:
name:
- oracle-instantclient-basic.x86_64
state: present
when: install_billing_validation_package

# TODO: If this raises an error, the token is exposed in stderr.
- name: Install the Python package for validating LBL billing IDs
pip:
Expand Down

0 comments on commit 1909fd0

Please sign in to comment.