From 7ecc0da496be02c55e35b04ca2ab04135f95499a Mon Sep 17 00:00:00 2001 From: Matthew Li Date: Tue, 25 Jul 2023 15:31:14 -0700 Subject: [PATCH] Enable Oracle dependency needed for Python package for validating LBL billing IDs --- bootstrap/ansible/playbook.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bootstrap/ansible/playbook.yml b/bootstrap/ansible/playbook.yml index f2a985cb1..67cf7ce38 100644 --- a/bootstrap/ansible/playbook.yml +++ b/bootstrap/ansible/playbook.yml @@ -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: