Skip to content

Commit 7ecc0da

Browse files
committed
Enable Oracle dependency needed for Python package for validating LBL billing IDs
1 parent 0385884 commit 7ecc0da

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bootstrap/ansible/playbook.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,22 @@
271271
environment: # needed as pg_config isn't in PATH by default
272272
PATH: "{{ ansible_env.PATH }}:/usr/pgsql-{{ postgres_version }}/bin"
273273

274+
- name: Add Oracle yum repository
275+
yum_repository:
276+
name: oracle-repository
277+
description: oracle repository
278+
baseurl: https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient21/x86_64/
279+
# https://linux.oracle.com/security/gpg/
280+
gpgkey: https://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
281+
when: install_billing_validation_package
282+
283+
- name: Install Oracle dependency for Python package for validating LBL billing IDs
284+
yum:
285+
name:
286+
- oracle-instantclient-basic.x86_64
287+
state: present
288+
when: install_billing_validation_package
289+
274290
# TODO: If this raises an error, the token is exposed in stderr.
275291
- name: Install the Python package for validating LBL billing IDs
276292
pip:

0 commit comments

Comments
 (0)