Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ skip_list:
exclude_paths:
- .github
- .ansible
- .ansibledoctor.yml
- example
- extensions
- dbhome-conversion
Expand Down
3 changes: 3 additions & 0 deletions .ansibledoctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
logging:
level: warning
base_dir: roles

renderer:
force_overwrite: True
9 changes: 9 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# shellcheck disable=SC2148

# Performance improvement for direnv with nix together
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi

use nix
direnv allow
8 changes: 4 additions & 4 deletions .github/workflows/ansible-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
- name: git clone
uses: actions/checkout@v3

- name: Python 3.11
- name: Python 3.13
uses: actions/setup-python@v2
with:
python-version: 3.11
python-version: 3.13

- name: Install ansible-doctor
run: |
python -m pip install ansible-doctor==4.0.1 ansible-core==2.16.2
python -m pip install -r tools/dev/requirements_doctor.txt

- name: ansible-doctor test
run: |
ansible-doctor --force --no-role-detection --recursive roles
ansible-doctor --force --recursive

- name: git diff of ansible-doctor
run: git diff --exit-code
2 changes: 1 addition & 1 deletion .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@v24.7.0
uses: ansible/ansible-lint@v25.2.1
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ example/*/ansible/context
ansible-navigator.log
navigator/replay/*json
.ansible
.venv
.direnv
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^roles/.*/README.md
Expand Down Expand Up @@ -42,15 +42,15 @@ repos:
- id: antsibull-changelog-lint

- repo: https://github.com/thegeeklab/ansible-doctor
rev: v4.0.1
rev: v7.0.5
hooks:
- id: ansible-doctor
entry: ansible-doctor --force --no-role-detection --recursive roles
entry: ansible-doctor --force --recursive
additional_dependencies:
- ansible-core

- repo: https://github.com/ansible-community/ansible-lint.git
rev: v24.7.0
rev: v25.2.1
hooks:
- id: ansible-lint
entry: ansible-lint --force-color -p
Expand Down
8 changes: 8 additions & 0 deletions changelogs/fragments/nix-doctor-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
minor_changes:
- "nix: Adding direnv and nix configuration for easy setup of dev environment via nix-shell (oravirt#516)"
- "Upgrade ansible-doctor 6.0.5 and pre-commit (oravirt#516)"
- "ansible-lint upgrade to 25.2.1 (oravirt#516)"

security_fixes:
- "ansible-core: Upgrade versions due to security alerts from dependbot (oravirt#516)"
3 changes: 3 additions & 0 deletions changelogs/fragments/oradb_tzupgrade_pdbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "oradb_tzupgrade_pdbs: compose the list of PDBs in Ansible"
5 changes: 0 additions & 5 deletions roles/common/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ ol7_repo_file: public-yum-ol7.repo

**_olrepo_**


## Dependencies

- global_handlers
Expand Down
5 changes: 0 additions & 5 deletions roles/cxoracle/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/cxoracle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ use_proxy: false

**_cx_oracle_**


## Dependencies

None.
Expand Down
5 changes: 0 additions & 5 deletions roles/global_handlers/.ansibledoctor.yml

This file was deleted.

2 changes: 0 additions & 2 deletions roles/global_handlers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ or just displays a reboot advice (false)
restart_on_requirement: false
```



## Dependencies

None.
Expand Down
Empty file.
5 changes: 0 additions & 5 deletions roles/oraapex/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oraapex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ unarchive apex.zip in RAC only on 1st node or on all nodes?
This is only true, when ORDS runs on RAC nodes as well, because we need
the images for ORDS. This should not be done on production setups!


## Open Tasks

- (information): oraapex_rac_primary_only not implemented yet.
Expand Down
5 changes: 0 additions & 5 deletions roles/oraasm_manage_diskgroups/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oraasm_manage_diskgroups/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Do not set them in inventory!

**_diskgroup_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oracluvfy/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oracluvfy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ oracluvfy_home: '{{ oracle_base }}/product/cluvfy'

**_assert_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_datapatch/.ansibledoctor.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/oradb_manage_db/.ansibledoctor.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/oradb_manage_grants/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_grants/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Manage grants for users in Oracle Databases

**_users_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_parameters/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_parameters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ restart_spparameter_changed: false
**_spfile_bounce_**\
 Bounce database when changed parameter need a restart.


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_pdb/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_pdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pdbadmin_user: >-

**_pdb_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_profiles/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_profiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Manage database profiles in Oracle

**_dbprofiles_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_redo/.ansibledoctor.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/oradb_manage_roles/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_roles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Manage roles in Oracle

**_users_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_services/.ansibledoctor.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/oradb_manage_statspack/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_statspack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ snaplevel: 7
**_statspack_**\
 Do all Tasks for Statspack


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_tablespace/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_tablespace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Manage Tablespaces in Oracle

**_tablespace_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_users/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Manage Users in Oracle

**_users_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_manage_wallet/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_manage_wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ oracle_wallet_show_password: false

**_always_**


## Dependencies

- orasw_meta
Expand Down
6 changes: 0 additions & 6 deletions roles/oradb_rman/.ansibledoctor.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/oradb_rman/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ oradb_rman_wallet_password: "{{ rman_wallet_password | default('oracleWallet1')

**_wallet_contents_**


## Dependencies

- orasw_meta
Expand Down
5 changes: 0 additions & 5 deletions roles/oradb_tzupgrade/.ansibledoctor.yml

This file was deleted.

2 changes: 0 additions & 2 deletions roles/oradb_tzupgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Manage timezone upgrades for an Oracle Database
- Minimum Ansible version: `2.14.0`




## Dependencies

- orahost_meta
Expand Down
Loading
Loading