Nosmoht / ansible-role-oracle-common

Ansible role to setup common Oracle Stuff (groups, users, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oracle-common

Introduction

Ansible role to setup common stuff used or required by Oracle Grid Infrastructure, Oracle Database and Oracle Client installations.

The role will ensure that:

  • all groups required to install Oracle Grid Infrastructure, Oracle Database or Oracle Client exist
  • all users required to install Oracle Grid Infrastructure, Oracle Database or Oracle Client installations exist vars.
  • Oracle inventory directory exist and has the right permissions
  • oraInst.log exists and has right permissions

The role was tested on RHEL 6+7, CentOS 6+7 and Oracle Linux 6+7 installing Oracle 11gR2 and Oracle 12cR1.

Requirements

  • Ansible

Dependencies

  • ansible-role-oracle-config

Variables

All variables are inherited from ansible-role-oracle-config

Usage

Without defining any variable the following playbook would just create the group oinstall as well as user oracle.

- hosts: oracle-server
  roles:
   - role: oracle-common

Author

Thomas Krahn

About

Ansible role to setup common Oracle Stuff (groups, users, etc.)