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