Skip to content

An Ansible role for Oracle installation and configuration on CentOS 6

License

Notifications You must be signed in to change notification settings

chadcrum/ansible-oracle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

An Ansible role for Oracle installation and configuration on CentOS 6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%