Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.47 KB

README.md

File metadata and controls

41 lines (32 loc) · 1.47 KB

Oracle for Ansible

This role downloads, installs and configures Oracle Database 11g Release 2 for CentOS 6. The included tasks are a rough port of an internal shell script, which was itself a rough port of Oracle's installation instructions and recommendations.

Requirements

Variables

See the default variables, which are extensively commented.

Example

---
- name: set up an oracle database
  sudo: yes
  vars:
    oracle_path: /u01/app           # ORACLE_BASE will be /u01/app/oracle
    oracle_db_name: my_special_db   # ORACLE_SID will be my_special_db
    oracle_db_home: special_home    # ORACLE_HOME will be /u01/app/oracle/product/11.2.0/special_home
    oracle_db_user: devuser
    oracle_db_pass: AnAwesomeAndAmazingP4ssw0rd
    oracle_db_syspass: AMor3AwesomeAndAmazingP4ssw0rd
    oracle_installer_uri: http://my.host # Ansible will download http://my.host/linux.x64_11gR2_database_1of2.zip
  roles:
    # more roles here
    - oracle

TODO

  • Handle multiple runs with different oracle_db_home and/or oracle_db_name vars, instead of skipping the whole installation process.
  • Optionally allow Oracle installer file downloads from S3 (e.g. with the s3 module).