cohesity.dataprotect.cohesity_oracle_source (1.1.9) — module

Management of Cohesity Protection Sources

| "added in version" 1.1.9 of cohesity.dataprotect"

Authors: Naveena (@naveena-maplelabs)

Install collection

Install with ansible-galaxy collection install cohesity.dataprotect:==1.1.9


Add to requirements.yml

  collections:
    - name: cohesity.dataprotect
      version: 1.1.9

Description

Ansible Module used to register or remove the Oracle Sources to/from a Cohesity Cluster.

When executed in a playbook, the Cohesity Protection Source will be validated and the appropriate

state action will be applied.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Register a Physical Cohesity Protection Source and register the physical source
# as Oracle server.
- cohesity_oracle:
    server: cohesity-cluster-vip
    username: admin
    password: password
    endpoint: endpoint
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Unegister an existing Cohesity Protection Source on a selected endpoint
- cohesity_oracle:
    server: cohesity-cluster-vip
    username: admin
    password: password
    endpoint: endpoint
    state: absent

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines the state of the Protection Source
    type: str

cluster:
    aliases:
    - cohesity_server
    description:
    - IP or FQDN for the Cohesity Cluster
    type: str

refresh:
    default: false
    description:
    - Switch determines whether to refresh the existing source.
    - Applicable only when source is already registered.
    type: bool

endpoint:
    description:
    - Specifies the network endpoint of the Protection Source where it is reachable. It
      could
    - be an URL or hostname or an IP address of the Protection Source or a NAS Share/Export
      Path.
    required: true
    type: str

db_password:
    description:
    - Specifies the password to access the target source database.
    - This parameter will not be logged.
    - Applicable only when state is set to present.
    type: str

db_username:
    description:
    - Specifies username to access the target source database.
    - Applicable only when state is set to present.
    type: str

cohesity_admin:
    aliases:
    - admin_name
    - cohesity_user
    - username
    description:
    - Username with which Ansible will connect to the Cohesity Cluster. Domain Specific
      credentails can be configured in following formats
    - AD.domain.com/username
    - AD.domain.com/username@tenant
    - LOCAL/username@tenant
    type: str

force_register:
    default: false
    description:
    - Enabling this option will force the registration of the Cohesity Protection Source.
    type: bool

validate_certs:
    aliases:
    - cohesity_validate_certs
    default: true
    description:
    - Switch determines if SSL Validation should be enabled.
    type: bool

cohesity_password:
    aliases:
    - password
    - admin_pass
    description:
    - Password belonging to the selected Username.  This parameter will not be logged.
    type: str