You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ansible/roles/eessi/README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,20 @@ None.
8
8
9
9
## Role Variables
10
10
11
-
-`cvmfs_quota_limit_mb`: Optional int. Maximum size of local package cache on each node in MB.
12
-
-`cvmfs_config_overrides`: Optional dict. Set of key-value pairs for additional CernVM-FS settings see [official docs](https://cvmfs.readthedocs.io/en/stable/cpt-configure.html) for list of options.
13
-
Each dict key should correspond to a valid config variable (e.g. `CVMFS_HTTP_PROXY`) and the corresponding dict value will be set as the variable value (e.g. `https://my-proxy.com`).
14
-
These configuration parameters will be written to the `/etc/cvmfs/default.local` config file on each host in the form `KEY=VALUE`.
11
+
All variables relate to [CernVM-FS configuration](https://cvmfs.readthedocs.io/en/stable/cpt-configure.html).
12
+
By default, the configuration is that [recommended by EESSI for single clients](https://www.eessi.io/docs/getting_access/native_installation/#installation-for-single-clients).
13
+
However if `cvmfs_http_proxy` is set to a non-empty string then a configuration
14
+
suitable for using a [squid proxy](https://www.eessi.io/docs/getting_access/native_installation/#configuring-your-client-to-use-a-squid-proxy)
15
+
is applied instead. See [docs/production](../../../docs/eessi.md#eessi-proxy-configuration)
16
+
for guidance on appliance configuration.
17
+
18
+
-`cvmfs_quota_limit_mb`: Optional int. Maximum size of local package cache on
19
+
each node in MB. Default 10GB.
20
+
-`cvmfs_http_proxy`: Optional string. Value for [CVMFS_HTTP_PROXY](https://cvmfs.readthedocs.io/en/stable/cpt-configure.html#proxy-lists). Quotes are added around the provided value. Default empty string.
21
+
-`cvmfs_config_overrides`: Optional dict. Set of key-value pairs for additional
22
+
CernVM-FS settings, written to `/etc/cvmfs/default.local`. Keys are
-`squid_conf_mode`: Optional str, `default` (the default) or `eessi`. See above.
22
24
-`squid_conf_template`: Optional str. Path (using Ansible search paths) to
23
-
squid.conf template. Default is in-role `squid.conf.j2` template as above.
25
+
squid.conf template. Default is in-role templates. If this is overriden then
26
+
`squid_conf_mode` has no effect.
24
27
25
-
### Role Variables for squid_conf_template=squid.conf.j2
28
+
### Role Variables for squid_conf_mode: default
26
29
27
30
Where noted these map to squid parameters of the same name without the `squid_` prefix - see [squid documentation](https://www.squid-cache.org/Doc/config) for details.
28
-
29
31
-`squid_started`: Optional bool. Whether to start squid service. Default `true`.
30
32
-`squid_enabled`: Optional bool. Whether squid service is enabled on boot. Default `true`.
31
33
-`squid_cache_mem`: Required str. Size of memory cache, e.g "1024 KB", "12 GB" etc. See squid parameter.
@@ -52,11 +54,13 @@ Where noted these map to squid parameters of the same name without the `squid_`
52
54
53
55
See squid parameter.
54
56
55
-
### Role Variables for squid_conf_template=squid-eessi.conf.j2
57
+
### Role Variables for squid_conf_mode: eessi
56
58
57
-
-`squid_eessi_clients`: Optional string. CIDR specifying clients allowed to
58
-
access this proxy. The default is to use the CIDR of the host's default IPv4
59
-
interface, which should allow access from the [cluster network](../../../docs/networks.md).
60
-
For clusters with multiple networks this may not be appropriate.
0 commit comments