Skip to content

Commit 4f69f3f

Browse files
authored
implement cvmfs_client_do_test option (#23)
1 parent 944c1d8 commit 4f69f3f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

defaults/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ cvmfs_repositories:
7373
# https://cvmfs.readthedocs.io/en/stable/cpt-configure.html#proxy-lists
7474
cvmfs_http_proxy: "DIRECT"
7575

76+
# Whether to run cvmfs_config chksetup and cvmfs_config probe
77+
# after installation to verify that the client is working.
78+
# Set to false if you are going to tweak the configuration (eg. custom key) before first use.
79+
80+
cvmfs_client_do_test: true
81+
7682
# This dict allows arbitrary CVMFS client settings to be applied in /etc/cvmfs/default.local .
7783
# Use this to apply any other settings, aside from those already defined by
7884
# other variables (CVMFS_REPOSITORIES, CVMFS_QUOTA_LIMIT, CVMFS_HTTP_PROXY).

tasks/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@
1212
- { import_tasks: storage.yml, tags: ['cvmfs', 'storage'], when: cvmfs_client_configure_storage | bool }
1313
- { import_tasks: packages.yml, tags: ['cvmfs', 'packages'] }
1414
- { import_tasks: config.yml, tags: ['cvmfs', 'config'] }
15-
- { import_tasks: test.yml, tags: ['cvmfs', 'test'] }
16-
15+
- { import_tasks: test.yml, tags: ['cvmfs', 'test'], when: cvmfs_client_do_test | bool }

0 commit comments

Comments
 (0)