From 617cdc69a3381bef2bae3aa20ad676b4d1abefb4 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Thu, 28 Sep 2023 18:59:57 +0200 Subject: [PATCH] Fixup validation logic for offline install --- galaxy.yml | 2 +- roles/amq_streams_common/tasks/install.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 8993754..6b38b8f 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: middleware_automation name: amq_streams -version: "0.0.6" +version: "0.0.7" readme: README.md authors: - Romain Pelisse diff --git a/roles/amq_streams_common/tasks/install.yml b/roles/amq_streams_common/tasks/install.yml index efa90bf..65e3e57 100644 --- a/roles/amq_streams_common/tasks/install.yml +++ b/roles/amq_streams_common/tasks/install.yml @@ -12,7 +12,7 @@ - name: Validate existing zipfiles for offline installs ansible.builtin.assert: that: - - amq_streams_common_version is defined and amq_streams_common_path_to_archive_file is exists + - amq_streams_common_path_to_archive_file is exists quiet: True fail_msg: "An offline install was requested, but files are not present on the controller: {{ amq_streams_common_path_to_archive_file }}" when: