From 617cdc69a3381bef2bae3aa20ad676b4d1abefb4 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Thu, 28 Sep 2023 18:59:57 +0200 Subject: [PATCH 1/2] 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: From f4435377f3118a773087389b953f4c25053608a0 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Fri, 29 Sep 2023 10:56:53 +0200 Subject: [PATCH 2/2] lint: warn for meta-runtime[unsupported-versions] --- .ansible-lint | 1 + 1 file changed, 1 insertion(+) diff --git a/.ansible-lint b/.ansible-lint index f5c85f8..70df42f 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -39,6 +39,7 @@ warn_list: - key-order[task] - schema[tasks] - name[missing] + - meta-runtime[unsupported-version] skip_list: - vars_should_not_be_used