Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running Stratum 1 without Squid #68

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ cvmfs_stratum1_http_ports:
cvmfs_localproxy_http_ports:
- 3128

cvmfs_stratum1_apache_port: 8008
cvmfs_stratum1_apache_port: "{{ cvmfs_stratum1_squid_enabled | ternary(8008, 80) }}"
cvmfs_stratum1_cache_mem: 128 # MB

cvmfs_stratum1_squid_enabled: true

# Stratum 1 snapshot cron job timing, hash keys correspond to the cron module options:
# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/cron_module.html
#
Expand Down
1 change: 1 addition & 0 deletions tasks/stratum1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
ansible.builtin.include_tasks: squid.yml
vars:
_cvmfs_squid_conf_src: "{{ cvmfs_squid_conf_src | default('stratum1_squid.conf.j2') }}"
when: cvmfs_stratum1_squid_enabled

- name: Include firewall tasks
ansible.builtin.include_tasks: firewall.yml
Expand Down
Loading