From 26082453d93acbada7be3de923a5e84f4570028c Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 1 May 2024 19:29:55 +0100 Subject: [PATCH] More brackets --- roles/docker/defaults/main.yml | 3 ++- roles/install_python/defaults/main.yml | 2 +- roles/omero_server/defaults/main.yml | 2 +- roles/xnat/defaults/main.yml | 8 ++++---- roles/xnat/tasks/plugins.yml | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index b38e9f00..bfbc158e 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -35,7 +35,8 @@ docker_server_csr: "{{ docker_certificate_directory }}/server.csr" docker_server_cert: "{{ docker_certificate_directory }}/server-cert.pem" # mirsg.docker client certificates -docker_client_hostnames: # list of hostnames of clients that will connect to the server +# list of hostnames of clients that will connect to the server +docker_client_hostnames: [] # yamllint disable-line rule:brackets docker_client_certificate_directory: "{{ docker_certificate_directory }}/client_certs" docker_client_certificate_cache_directory: diff --git a/roles/install_python/defaults/main.yml b/roles/install_python/defaults/main.yml index 5c1630e7..9e9adaeb 100644 --- a/roles/install_python/defaults/main.yml +++ b/roles/install_python/defaults/main.yml @@ -7,4 +7,4 @@ install_python: - python3 - python3-pip - python3-setuptools - pip_packages: + pip_packages: [] # yamllint disable-line rule:brackets diff --git a/roles/omero_server/defaults/main.yml b/roles/omero_server/defaults/main.yml index 0d28f74c..a69df0be 100644 --- a/roles/omero_server/defaults/main.yml +++ b/roles/omero_server/defaults/main.yml @@ -54,7 +54,7 @@ omero_server_systemd_after: omero_server_systemd_requires: # Dictionary of additional environment variables -omero_server_systemd_environment: +omero_server_systemd_environment: {} # yamllint disable-line rule:braces # List of additional Python packages to be installed into virtualenv omero_server_python_addons: diff --git a/roles/xnat/defaults/main.yml b/roles/xnat/defaults/main.yml index 401faae8..27668573 100644 --- a/roles/xnat/defaults/main.yml +++ b/roles/xnat/defaults/main.yml @@ -50,10 +50,10 @@ xnat_plugin_urls: - https://api.bitbucket.org/2.0/repositories/xnatdev/xnat-image-viewer-plugin/downloads/ximgview-plugin-1.0.2.jar - https://api.bitbucket.org/2.0/repositories/xnatx/xnatx-dxm-settings-plugin/downloads/dxm-settings-plugin-1.0.jar -xnat_plugin_bundle_urls: -xnat_plugin_packages: -xnat_server_specific_plugin_urls: -xnat_server_specific_plugin_packages: +xnat_plugin_bundle_urls: [] # yamllint disable-line rule:brackets +xnat_plugin_packages: [] # yamllint disable-line rule:brackets +xnat_server_specific_plugin_urls: [] # yamllint disable-line rule:brackets +xnat_server_specific_plugin_packages: [] # yamllint disable-line rule:brackets # Path to server logo file xnat_config_logo: /images/logo.png # use the default XNAT logo diff --git a/roles/xnat/tasks/plugins.yml b/roles/xnat/tasks/plugins.yml index 4c8f47f7..7d6e0484 100644 --- a/roles/xnat/tasks/plugins.yml +++ b/roles/xnat/tasks/plugins.yml @@ -81,7 +81,7 @@ - name: Get list of hashes for local plugins vars: - local_stats: + local_stats: [] # yamllint disable-line rule:brackets ansible.builtin.set_fact: local_stats: "{{ local_stats + [{'name': item.stat.path | basename, 'hash':