<commit_before>oraasm-manage-diskgroups
=========

- Manages ASM diskgroups.

- Uses oracle_asmdg module from [ansible-oracle-modules](https://github.com/oravirt/ansible-oracle-modules)

Role Variables
--------------
`asm_diskgroups` - defines the various disksgroups and their attributes.

e.g
asm_diskgroups:
  - diskgroup: crs
    state: present
    properties:
      - {redundancy: external, ausize: 4}
    attributes:
      - {name: compatible.asm, value: 192.168.3.11.0}
      - {name: compatible.rdbms, value: 172.16.58.3.0}
    disk:
      - {device: /dev/sdc, asmlabel: crs01}
  - diskgroup: data
    state: present
    properties:
      - {redundancy: external, ausize: 4}
    attributes:
      - {name: compatible.asm, value: 192.168.3.11}
      - {name: compatible.rdbms, value: 172.16.58.3.0}
    disk:
      - {device: /dev/sdd, asmlabel: data01}
      - {device: /dev/sde, asmlabel: data02}



Example Playbook
----------------
```
    - hosts: vbox-rac-dc1
      become: True
      become_user:
      roles:
         - { role: oraasm-manage-diskgroups }
```

Author Information
------------------
<NAME>, @oravirt, <EMAIL><commit_msg>Updated oraasm-manage-diskgroups readme<commit_after>oraasm-manage-diskgroups
=========

- Manages ASM diskgroups.

- Uses oracle_asmdg module from [ansible-oracle-modules](https://github.com/oravirt/ansible-oracle-modules)

Role Variables
--------------
`asm_diskgroups` - defines the various disksgroups and their attributes.

e.g

```
asm_diskgroups:
  - diskgroup: crs
    state: present
    properties:
      - {redundancy: external, ausize: 4}
    attributes:
      - {name: compatible.asm, value: 1172.16.17.32.0}
      - {name: compatible.rdbms, value: 11.2.0.4.0}
    disk:
      - {device: /dev/sdc, asmlabel: crs01}
  - diskgroup: data
    state: present
    properties:
      - {redundancy: external, ausize: 4}
    attributes:
      - {name: compatible.asm, value: 192.168.3.11}
      - {name: compatible.rdbms, value: 11.2.0.4.0}
    disk:
      - {device: /dev/sdd, asmlabel: data01}
      - {device: /dev/sde, asmlabel: data02}
```


Example Playbook
----------------
```
    - hosts: vbox-rac-dc1
      become: True
      become_user:
      roles:
         - { role: oraasm-manage-diskgroups }
```

Author Information
------------------
<NAME>, @oravirt, <EMAIL>
{'fraction_non_alphanumeric': 0.17689995706311723, 'fraction_numerical': 0.0373550880206097, 'mean_word_length': 2.3428981348637015, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '355594', 'n_tokens_mistral': 895, 'n_tokens_neox': 813, 'n_words': 173}