Skip to content
Snippets Groups Projects
Commit 6c891d34 authored by František Dvořák's avatar František Dvořák
Browse files

Support both IPv4/IPv6 proxy universally in CVMFS setup

parent f6bfd185
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
mode: 0644
content: |
Acquire::http::Proxy {
cvmrepo.web.cern.ch "http://[{{ groups['ingress'][0] }}]:3128";
cvmrepo.web.cern.ch "http://{{ groups['ingress'][0] | ansible.utils.ipwrap }}:3128";
};
- name: Install and setup cvmfs apt repository
vars:
......@@ -55,7 +55,7 @@
dest: /etc/cvmfs/default.local
mode: 0644
content: |
CVMFS_HTTP_PROXY=http://[{{ groups['ingress'][0] }}]:3128
CVMFS_HTTP_PROXY=http://{{ groups['ingress'][0] | ansible.utils.ipwrap }}:3128
- name: Setup and mount cvmfs repository {{ item }}
ansible.posix.mount:
path: /cvmfs/{{ item }}
......
---
collections:
- ansible.posix
- ansible.utils
- community.general
- community.hashi_vault
roles:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment