ibre5041.ansible_oracle_modules.oracle_role (3.2.0) — module

Manage roles in an Oracle database

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

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

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

CREATE/DROP Oracle ROLE

Supports also idenfified roles

See connection parameters for oracle_ping


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add grants to the user
  oracle_role:
    mode: sysdba
    role: myrole
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create idenfified role
  oracle_role:
    mode: sysdba    
    role: "foo"
    identified_method: "password"
    identified_value: "bar"

Inputs

    
role:
    description: The role that should be added/removed
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description: The intended state of the role