|
| 1 | +--- |
| 2 | + |
| 3 | +### Settings for Ansible role |
| 4 | + |
| 5 | +# Which configuration domains to set up. Possible values include the following: |
| 6 | +# cvmfs-config-default - sets up EGI, OSG and CERN repositories |
| 7 | +# cvmfs-config-computecanada - sets up Compute Canada repositories |
| 8 | +cvmfs_configuration: |
| 9 | + - "cvmfs-config-default" |
| 10 | +# - "cvmfs-config-computecanada" |
| 11 | + |
| 12 | +# If cvmfs_gid and cvmfs_uid are both defined, then Ansible will ensure that a 'cvmfs' |
| 13 | +# account with those ids is present before CVMFS is installed. You should make sure to do |
| 14 | +# this when deploying CVMFS on a cluster, in case an alien cache might be used. |
| 15 | +# cvmfs_gid: "8000131" |
| 16 | +# cvmfs_uid: "13000004" |
| 17 | + |
| 18 | +# Whether to set up and use autofs to mount CVMFS repositories (recommended for standard deployment scenarios). |
| 19 | +# If false, static mounts will be configured instead (may be necessary for some container engines to use CVMFS). |
| 20 | +# Switching a client system from autofs to static mode requires some manual operations and is not supported by this Ansible role. |
| 21 | +cvmfs_auto_setup: true |
| 22 | + |
| 23 | +# Set to true (only as a one-time option with -e) to switch from static mode to autofs. Will unmount all repos! |
| 24 | +cvmfs_force_unmount: false |
| 25 | + |
| 26 | +# See `man autofs.conf` |
| 27 | +#cvmfs_autofs_timeout: 300 |
| 28 | + |
| 29 | +# Whether to configure a PV/VG/LV and filesystem for the CVMFS cache, |
| 30 | +# according to cvmfs_client_pv_name, cvmfs_client_vg_name, and |
| 31 | +# cvmfs_client_lv_name as described below. If false, you will need to |
| 32 | +# configure the cache storage yourself instead, and also ensure it is the required size. |
| 33 | +cvmfs_client_configure_storage: true |
| 34 | + |
| 35 | +# If this block device name is defined, then a volume group, logical volume, and filesystem will be created on it. |
| 36 | +# If it is not defined, then a volume group is assumed to already exist and will be used instead. |
| 37 | +# In either case, the name of the volume group is given by cvmfs_client_vg_name. |
| 38 | +#cvmfs_client_pv_name: "vdb" |
| 39 | + |
| 40 | +# Name of the volume group for the CVMFS local cache filesystem. |
| 41 | +cvmfs_client_vg_name: "cvmfsvg" |
| 42 | + |
| 43 | +# Name of the logical volume for the CVMFS local cache filesystem. |
| 44 | +cvmfs_client_lv_name: "cvmfs" |
| 45 | + |
| 46 | +### Settings for CVMFS client |
| 47 | +# For further details on CVMFS client configuration settings refer to: |
| 48 | +# https://cvmfs.readthedocs.io/en/stable/apx-parameters.html |
| 49 | +# https://cvmfs.readthedocs.io/en/stable/cpt-configure.html |
| 50 | + |
| 51 | +# Size of the local cache filesystem in megabytes. The cache usage quota (CVMFS_QUOTA_LIMIT) will be automatically |
| 52 | +# set to ~ 85% of this amount, to allow for momentary usage beyond the quota while cache clean-up is in progress. |
| 53 | +cvmfs_cache_size: "50000" |
| 54 | + |
| 55 | +# The list of repositories that will be accessible. CVMFS_STRICT_MOUNT is enabled so this IS |
| 56 | +# an exclusive list; your inventory must include any additional repositories you wish to use. |
| 57 | +# In particular cvmfs-config.computecanada.ca is required for other Compute Canada repositories to function. |
| 58 | +cvmfs_repositories: |
| 59 | + - "soft.computecanada.ca" |
| 60 | + - "cvmfs-config.computecanada.ca" |
| 61 | + |
| 62 | +# The list of caching proxy servers to use. |
| 63 | +# For more info see |
| 64 | +# https://docs.computecanada.ca/wiki/Accessing_CVMFS |
| 65 | +# https://cvmfs.readthedocs.io/en/stable/cpt-configure.html#proxy-lists |
| 66 | +cvmfs_http_proxy: "DIRECT" |
| 67 | + |
| 68 | +# This dict allows arbitrary CVMFS client settings to be applied in /etc/cvmfs/default.local . |
| 69 | +# Use this to apply any other settings, aside from those already defined by |
| 70 | +# other variables (CVMFS_REPOSITORIES, CVMFS_QUOTA_LIMIT, CVMFS_HTTP_PROXY). |
| 71 | +# For example: |
| 72 | +# cvmfs_client_conf: |
| 73 | +# CVMFS_INSTRUMENT_FUSE: "true" |
| 74 | +cvmfs_client_conf: {} |
0 commit comments