Skip to content

Commit 534f92e

Browse files
authored
Merge pull request #261 from Rendanic/collection
v3.0.0: Suport for ansible Collection
2 parents 473af6e + e7d8785 commit 534f92e

File tree

337 files changed

+1843
-1799
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+1843
-1799
lines changed

.ansible-lint

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
2+
23
use_default_rules: true
34

4-
skip_list:
5-
- role-name
6-
# must be fixed at later time
7-
- var-naming
8-
# temporary deactived - will be removed in next PRs
9-
- fqcn-builtins
10-
- schema
5+
# skip_list:
116

127
exclude_paths:
138
- .github
149
- dbhome-conversion
15-
- library
10+
- plugins/modules
11+
- playbooks
12+
- changelogs/changelog.yaml
13+
- changelogs/.plugin-cache.yaml

.github/workflows/ansible-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Lint roles
2323
# Use custom action repo due to open PRs 43 and 48
24-
uses: Rendanic/ansible-lint-action@tbr
24+
uses: ansible-community/ansible-lint-action@v6.5.2
2525
with:
2626
targets: |
2727
roles/*
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test antsibull-changelog lint
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- oc
7+
- master
8+
- collection
9+
push:
10+
branches:
11+
- 'pr*'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python 3.9
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: 3.9
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
python -m pip install antsibull-changelog
28+
29+
- name: antsibull-changelog lint (own changelog fragments)
30+
run: |
31+
antsibull-changelog lint

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: forbid-new-submodules
1717

1818
- repo: https://github.com/ansible-community/ansible-lint.git
19-
rev: v5.2.0
19+
rev: v6.3.0
2020
hooks:
2121
- id: ansible-lint
2222
entry: ansible-lint --force-color -p

CHANGELOG.rst

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
============================================
2+
opitzconsulting.ansible_oracle Release Notes
3+
============================================
4+
5+
.. contents:: Topics
6+
7+
8+
v3.0.0
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
ansible-oracle has been converted into a collection.
15+
This release starts using antsibull-changelog for managing the CHANGELOG.rst.
16+
17+
18+
Major Changes
19+
-------------
20+
21+
- Added antsibull-changelog for managing the CHANGELOG.rst (opitzconsulting#102)
22+
- moved ansible-oracle into a collection (opitzconsulting#99)
23+
24+
Minor Changes
25+
-------------
26+
27+
- Parameter oracle_asm_disk_string could be set when asmlib is used (opitzconsulting#82)
28+
- Refactoring oraswgi-install for 19c and 21c (opitzconsulting#82)
29+
- Removed parameter -ignorePrereq during GridSetup.sh (opitzconsulting#82)
30+
- Replace broken .profile_* Envrionmentscript with ocenv (opitzconsulting#85)
31+
- added execution of runcluvfy.sh before GridSetup.sh (opitzconsulting#82)
32+
- added extra debug tasks with "msg: install-home-gi | Start .." before long running tasks (opitzconsulting#82)
33+
- added support for updating opatch under 19c and 21c (opitzconsulting#98)
34+
- added support to interpret password as hash instead of plaintext in dbpasswords by setting users[*].password_is_hash=true (opitzconsulting#81)
35+
- ansible-lint: move to ansible-lint-action@v6.5.2 (opitzconsulting#261)
36+
- merge ansible-oracle-modules/oc into plugins/modules (opitzconsulting#103)
37+
- new way installing cvuqdisk.rpm in Grid-Infrastructure (opitzconsulting#82)
38+
- ocenv: update to 2022-08-10 (#261)
39+
- oradb-manage-db: use custom DBCA-Templates from ORACLE_HOME directly (opitzconsulting#87)
40+
- orahost: add new attributes to host_fs_layout (opitzconsulting#96)
41+
- oraswgi: assert OL8 and GI 19.3 without RU (opitzconsulting#84)
42+
- oraswgi: move from package to yum for cvuqdisk.rpm (opitzconsulting#84)
43+
- refactoring the includes for 19c and 21c (opitzconsulting#82)
44+
- removed all check exceptions from .ansible-lint (opitzconsulting#99)
45+
- uid/gid/passwd attribute in oracle_users/grid_users/oracle_groups is now optional (opitzconsulting#107)
46+
- update ansible-lint for git pre-commit to v6.3.0 (opitzconsulting#99)
47+
48+
Breaking Changes / Porting Guide
49+
--------------------------------
50+
51+
- Ansible 2.9+ needed (opitzconsulting#99)
52+
- moved old playbooks to playbooks folder (opitzconsulting#99)
53+
- rename all roles with '-' in name to '_' (opitzconsulting#99)
54+
- renamed variable for EE-Options in Binaries (opitzconsulting#99)
55+
56+
Removed Features (previously deprecated)
57+
----------------------------------------
58+
59+
- role removed: oraasm-createdg - replaced by oraasm_manage_diskgroups (opitzconsulting#97)
60+
- role removed: oradb-create - replaced by oradb_manage_db (opitzconsulting#97)
61+
- role removed: oradb-delete - replaced by oradb_manage_db (opitzconsulting#97)
62+
- role removed: oradb-failover - should be implemented in oraswgi-install -no replacement availible (opitzconsulting#97)
63+
- role removed: oraswgi-clone - not working with current Oracle versions, no replacement availible (opitzconsulting#97)
64+
65+
Bugfixes
66+
--------
67+
68+
- added asmoper to oracle user in orahost (opitzconsulting#82)
69+
- be less verbose during ansible-playbook (opitzconsulting#101)
70+
- does not require host_fs_layout to have "disks" attribute when "configure_host_disks==false" (opitzconsulting#108)
71+
- fixed gold image copy path (opitzconsulting#92)
72+
- fixes a problem where oracle user home directory has been hardcoded to be under /home (opitzconsulting#93)
73+
- make ansible-lint more happy due to new rules (opitzconsulting#94)
74+
- make collection compatble for galaxy.ansible.com (opitzconsulting#101)
75+
- oracle_db: Set SYSTEM password when creating a DB
76+
- oracle_profile: make it compatible for Python3 (opitzconsulting#95)
77+
- oradb_manage_grants & oradb_manage_users: pass container and container_data parameters to modules
78+
- oradb_manage_statspack: Bugfix for db.state <> present
79+
- oraswgi_install: fixed wrong script task to shell (#261)
80+
- remove auto execution of ocenv from .bashrc (opitzconsulting#100)
81+
82+
Known Issues
83+
------------
84+
85+
- Problem Instance <db_unique_name> is not running during DBCA in RAC (opitzconsulting#91)
86+
- removal of database not working when db_name <> db_instance_name (opitzconsulting#28)
87+
- wrong ORACLE_BASE in RAC with role sepepration (#259)

0 commit comments

Comments
 (0)