From c373c2b9ba937086dc311d378b8fbcf71e74caa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dvo=C5=99=C3=A1=C4=8Dek=20Josef?= Date: Thu, 25 Sep 2025 16:34:43 +0200 Subject: [PATCH] implement cvmfs_client_do_test option --- defaults/main.yml | 6 ++++++ tasks/main.yml | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 83ac04e..fdc3fa6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -73,6 +73,12 @@ cvmfs_repositories: # https://cvmfs.readthedocs.io/en/stable/cpt-configure.html#proxy-lists cvmfs_http_proxy: "DIRECT" +# Whether to run cvmfs_config chksetup and cvmfs_config probe +# after installation to verify that the client is working. +# Set to false if you are going to tweak the configuration (eg. custom key) before first use. + +cvmfs_client_do_test: true + # This dict allows arbitrary CVMFS client settings to be applied in /etc/cvmfs/default.local . # Use this to apply any other settings, aside from those already defined by # other variables (CVMFS_REPOSITORIES, CVMFS_QUOTA_LIMIT, CVMFS_HTTP_PROXY). diff --git a/tasks/main.yml b/tasks/main.yml index bf6cdcc..527ed2b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,5 +12,4 @@ - { import_tasks: storage.yml, tags: ['cvmfs', 'storage'], when: cvmfs_client_configure_storage | bool } - { import_tasks: packages.yml, tags: ['cvmfs', 'packages'] } - { import_tasks: config.yml, tags: ['cvmfs', 'config'] } -- { import_tasks: test.yml, tags: ['cvmfs', 'test'] } - +- { import_tasks: test.yml, tags: ['cvmfs', 'test'], when: cvmfs_client_do_test | bool }