File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,11 @@ cvmfs_stratum1_http_ports:
18
18
cvmfs_localproxy_http_ports :
19
19
- 3128
20
20
21
- cvmfs_stratum1_apache_port : 8008
21
+ cvmfs_stratum1_apache_port : " {{ cvmfs_stratum1_squid_enabled | ternary( 8008, 80) }} "
22
22
cvmfs_stratum1_cache_mem : 128 # MB
23
23
24
+ cvmfs_stratum1_squid_enabled : true
25
+
24
26
# Stratum 1 snapshot cron job timing, hash keys correspond to the cron module options:
25
27
# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/cron_module.html
26
28
#
Original file line number Diff line number Diff line change 28
28
ansible.builtin.include_tasks : squid.yml
29
29
vars :
30
30
_cvmfs_squid_conf_src : " {{ cvmfs_squid_conf_src | default('stratum1_squid.conf.j2') }}"
31
+ when : cvmfs_stratum1_squid_enabled
31
32
32
33
- name : Include firewall tasks
33
34
ansible.builtin.include_tasks : firewall.yml
You can’t perform that action at this time.
0 commit comments