From 05550f4e63f329135a1cc813be3399db5a79be22 Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Fri, 16 Feb 2024 14:59:16 +0100 Subject: [PATCH] feat(role) bareos_dir 1.1.1, bareos_fd 1.1.2 Refs: * https://github.com/adfinis/ansible-role-bareos_dir/releases/tag/v1.1.1 * https://github.com/adfinis/ansible-role-bareos_fd/releases/tag/v1.1.2 --- roles/bareos_dir/meta/argument_specs.yml | 4 +++- roles/bareos_dir/tasks/assert.yml | 7 ------- roles/bareos_fd/meta/argument_specs.yml | 4 +++- roles/bareos_fd/tasks/assert.yml | 7 ------- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/roles/bareos_dir/meta/argument_specs.yml b/roles/bareos_dir/meta/argument_specs.yml index 4ee75b1..50ac6db 100644 --- a/roles/bareos_dir/meta/argument_specs.yml +++ b/roles/bareos_dir/meta/argument_specs.yml @@ -89,5 +89,7 @@ argument_specs: description: "Install debug packages. This requires the debug repositories to be enabled." bareos_dir_plugins: type: "list" - default: [] description: "A list of Bareos Director plugins" + elements: "str" + required: false + version_added: v1.1.0 diff --git a/roles/bareos_dir/tasks/assert.yml b/roles/bareos_dir/tasks/assert.yml index 1627ccf..11f933d 100644 --- a/roles/bareos_dir/tasks/assert.yml +++ b/roles/bareos_dir/tasks/assert.yml @@ -143,10 +143,3 @@ - bareos_dir_install_debug_packages is defined - bareos_dir_install_debug_packages is boolean quiet: true - -- name: assert | Test bareos_dir_plugins - ansible.builtin.assert: - that: - - bareos_dir_plugins is defined - - bareos_dir_plugins is iterable - quiet: true diff --git a/roles/bareos_fd/meta/argument_specs.yml b/roles/bareos_fd/meta/argument_specs.yml index fbd2fd2..f889e09 100644 --- a/roles/bareos_fd/meta/argument_specs.yml +++ b/roles/bareos_fd/meta/argument_specs.yml @@ -67,5 +67,7 @@ argument_specs: description: "The master public key to use." bareos_fd_plugins: type: "list" - default: [] description: "Bareos plugins to install on the FD" + elements: "str" + required: false + version_added: v1.1.0 diff --git a/roles/bareos_fd/tasks/assert.yml b/roles/bareos_fd/tasks/assert.yml index 26dc665..c938c38 100644 --- a/roles/bareos_fd/tasks/assert.yml +++ b/roles/bareos_fd/tasks/assert.yml @@ -98,10 +98,3 @@ quiet: true when: - bareos_fd_encryption_enabled - -- name: assert | Test bareos_fd_plugins - ansible.builtin.assert: - that: - - bareos_fd_plugins is defined - - bareos_fd_plugins is iterable - quiet: true