diff --git a/cesnet-central/playbooks/cvmfs.yaml b/cesnet-central/playbooks/cvmfs.yaml index fceb710905f41b66c529794124dd072fd705b393..26eb1a8e8263316a6568828e83861bb7bfd2c035 100644 --- a/cesnet-central/playbooks/cvmfs.yaml +++ b/cesnet-central/playbooks/cvmfs.yaml @@ -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 }} diff --git a/requirements.yml b/requirements.yml index 67d45d36935a24684ca71412f0d58e2de728729d..afe4528a5cd58438bc0468c9d368cbd14c2ff1bd 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,6 +1,7 @@ --- collections: - ansible.posix + - ansible.utils - community.general - community.hashi_vault roles: