opitzconsulting.ansible_oracle.oracle_asmdg (4.7.0) — module

Manage diskgroups in an Oracle database

| "added in version" 2.1.0 of opitzconsulting.ansible_oracle"

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

Install collection

Install with ansible-galaxy collection install opitzconsulting.ansible_oracle:==4.7.0


Add to requirements.yml

  collections:
    - name: opitzconsulting.ansible_oracle
      version: 4.7.0

Description

Manage diskgroups in an Oracle database


Requirements

Inputs

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

port:
    default: 1521
    description: 'The listener port to connect to the database if using dbms_diskgroup

      '
    required: false
    type: str

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

      '
    type: str

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

      '
    type: str

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

      '
    required: false
    type: str

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

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

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

      '
    type: str

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

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

      '
    required: false
    type: str

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

      '
    type: str

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

      '
    type: str