From b37b5308bc599332e2dd6883eda31313ab75d832 Mon Sep 17 00:00:00 2001 From: David Nieto Sanz Date: Wed, 21 Aug 2024 12:02:45 +0200 Subject: [PATCH] Avoid unexpected error for oracle listener processing --- CHANGELOG.md | 6 ++++++ docs/development_environment.md | 1 - galaxy.yml | 2 +- .../files/tasks_definitions/oracle_listener.yaml | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3417eb..1f2b470 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.12.1 + +## Fixed + +- Avoid unexpected error for oracle listener processing. + # 1.12.0 ## Features diff --git a/docs/development_environment.md b/docs/development_environment.md index e4e3739..dbefd22 100644 --- a/docs/development_environment.md +++ b/docs/development_environment.md @@ -22,7 +22,6 @@ Following pip packages must be installed in this virtual env. You can choose ans higher than the minimum supported version: * `ansible` * `pytest` - * `pytest-lazy-fixture` * `pytest-ansible-units` ## Prepare for ansible collection development diff --git a/galaxy.yml b/galaxy.yml index e019f5d..cef6b2d 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -8,7 +8,7 @@ namespace: datadope name: discovery # The version of the collection. Must be compatible with semantic versioning -version: 1.12.0 +version: 1.12.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/roles/software_discovery/files/tasks_definitions/oracle_listener.yaml b/roles/software_discovery/files/tasks_definitions/oracle_listener.yaml index 9ca7dd5..5ededfb 100644 --- a/roles/software_discovery/files/tasks_definitions/oracle_listener.yaml +++ b/roles/software_discovery/files/tasks_definitions/oracle_listener.yaml @@ -44,11 +44,13 @@ extra_data: "<< (__instance__.extra_data | default({})) | combine({ 'name': __instance__._name }) >>" + when: __instance__._name is defined - name: Add bin file to files add_file_info: path: "<< __instance__._bin_file >>" type: binary subtype: process_bin_file + when: __instance__._bin_file is defined - name: Block to execute command lsnrctl block: - name: Execute lsnrctl