From d01fe70354248ceabc1a74b03e39c5674e2ed5ac Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Mon, 6 May 2024 13:16:34 +0200 Subject: [PATCH] chore: assert for bareos_fd_plugins var Remove unnecessary collections.yml file in molecule scenario postgresql. --- molecule/postgresql/collections.yml | 5 ----- tasks/assert.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 molecule/postgresql/collections.yml diff --git a/molecule/postgresql/collections.yml b/molecule/postgresql/collections.yml deleted file mode 100644 index 020687f..0000000 --- a/molecule/postgresql/collections.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- - -collections: - - name: community.docker - - name: community.general diff --git a/tasks/assert.yml b/tasks/assert.yml index c938c38..2f9631d 100644 --- a/tasks/assert.yml +++ b/tasks/assert.yml @@ -98,3 +98,11 @@ quiet: true when: - bareos_fd_encryption_enabled + +- name: assert | Test bareos_fd_plugins + ansible.builtin.assert: + that: + - bareos_fd_plugins is iterable + quiet: true + when: + - bareos_fd_plugins is defined