ibre5041.ansible_oracle_modules.oracle_asmdg (3.2.0) — module

Manage diskgroups in an Oracle database

| "added in version" 2.1.0.0 of ibre5041.ansible_oracle_modules"

Authors: Mikael Sandström, oravirt@gmail.com, @oravirt

Install collection

Install with ansible-galaxy collection install ibre5041.ansible_oracle_modules:==3.2.0


Add to requirements.yml

  collections:
    - name: ibre5041.ansible_oracle_modules
      version: 3.2.0

Description

Manage diskgroups in an Oracle database


Requirements

Inputs

    
name:
    aliases:
    - diskgroup
    - dg
    default: None
    description:
    - The name of the diskgroup
    required: true

port:
    default: 1521
    description:
    - The listener port to connect to the database if using dbms_diskgroup
    required: false

disks:
    default: None
    description:
    - A list of disks that should be part of the diskgroup. Only the listed disks will
      be part of the DG, meaning if the disk is removed from the list it will also be
      removed from the DG

state:
    choices:
    - present
    - absent
    - status
    default: present
    description:
    - The intended state of the diskgroup. 'status' will just show the status of the diskgroup

hostname:
    aliases:
    - host
    default: localhost
    description:
    - The host of the database if using dbms_diskgroup
    required: false

password:
    aliases:
    - pw
    default: None
    description:
    - The password for the ASM user
    required: false

username:
    aliases:
    - un
    default: sys
    description:
    - The ASM username
    required: false

redundancy:
    choices:
    - external
    - normal
    - high
    default: external
    description:
    - The redundancy configuration for the diskgroup, It does not yet support putting
      disks in specific failure groups

oracle_home:
    aliases:
    - oh
    default: None
    description:
    - The GI ORACLE_HOME
    required: false

service_name:
    aliases:
    - sn
    default: +ASM
    description:
    - The diskgroup_name to connect to the database if using dbms_diskgroup.
    required: false

attribute_name:
    aliases:
    - an
    default: None
    description:
    - The attribute name (e.g compatible.rdbms)

attribute_value:
    aliases:
    - av
    default: None
    description:
    - The attribute value (e.g 12.1.0.2)