Skip to content

Ansible role for Oracle Instant Client installation an configuration

License

Notifications You must be signed in to change notification settings

lean-delivery/ansible-role-oracle-instant-client

Repository files navigation

Oracle Instant Client role

License Build Status Build Status Galaxy Ansible Ansible

Summary

This role installs and configures oracle instant client.

Requirements

Role Variables

  • transport - artifact source transport default: local

    available:

    • web - fetch artifact from custom web uri
    • local - local artifact
  • transport_web - URI for http/https artifact default: "http://my-storage.example.com"

  • transport_local - path for local artifact default: "/tmp"

  • oracle_instantclient_packages - Oracle instant client package and tools

    default:

    • - "oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm"
    • - "oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm"
    • - "oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm"
  • download_path - local folder for downloading artifacts default: /tmp

  • ld_library_path - environment variable default: "/usr/lib/oracle/12.1/client64/lib"

Dependencies

None.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- name: "Install oracle instant client"
  hosts: "all"

  roles:
    - role: "lean_delivery.oracle_instant_client"
      transport: "web"
      transport_web: "http://my-storage.example.com"
      oracle_instantclient_packages:
        - "oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm"
        - "oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm"
        - "oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm"
- name: "Install oracle instant client"
  hosts: "all"

  roles:
    - role: "lean_delivery.oracle_instant_client"
      transport: "local"
      transport_local: "/tmp"
      oracle_instantclient_packages:
        - "oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm"
        - "oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm"
        - "oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm"

License

Apache

Author Information

authors:

About

Ansible role for Oracle Instant Client installation an configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages