Skip to content

Conversation

adamfranco
Copy link

Minor versions were not usable because they are in a directory based on the major version (first two places) while the specific minor version uses all 6 places.

For example, https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html lists the RPM URL as:

https://download.oracle.com/otn_software/linux/instantclient/2390000/oracle-instantclient-basic-23.9.0.25.07-1.el8.x86_64.rpm

Previously downloads were failing because the replacement for the directory component was using all version places like:
https://download.oracle.com/otn_software/linux/instantclient/23902507/oracle-instantclient-basic-23.9.0.25.07-1.el8.x86_64.rpm
which results in a 404 error since the directory is wrong.

This role can now successfully specify a minor version like:

- name: Install oracle client
  hosts: my_hosts
  roles:
  - role: ecgalaxy.oracle_instantclient
    vars:
      oracle_instantclient_version: "23.9.0.25.07"
    become: yes

Minor versions were not usable because they are in a directory based on 
the major version (first two places) while the specific minor version 
uses all 6 places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant