2626 when : ' "cvmfs-config-computecanada" in cvmfs_configuration'
2727
2828# Target hosts will need internet access anyway to install the actual packages via apt, so we might as well
29- # install the apt config from the internet as well - if a version is not already installed.
29+ # install the apt config from the internet as well - if a version is not already installed.
3030# There is no benefit to abstracting this with the apt_repository module, and doing so would break idempotence
3131# because these packages update themselves via their own apt repositories.
3232
3737 when : ansible_facts.packages['cvmfs-release'] is not defined
3838
3939# Todo: repository configuration for apt missing
40- # - name: Install Compute Canada apt repository
41- # apt:
42- # name: https://package.computecanada.ca/yum/cc-cvmfs-public/prod/other/computecanada-release-latest.noarch.rpm
43- # state: present
44- # validate_certs: yes
45- # when:
46- # - '"cvmfs-config-computecanada" in cvmfs_configuration'
47- # - ansible_facts.packages['computecanada-release'] is not defined
40+ # - name: Install Compute Canada apt repository
41+ # apt:
42+ # name: https://package.computecanada.ca/yum/cc-cvmfs-public/prod/other/computecanada-release-latest.noarch.rpm
43+ # state: present
44+ # validate_certs: yes
45+ # when:
46+ # - '"cvmfs-config-computecanada" in cvmfs_configuration'
47+ # - ansible_facts.packages['computecanada-release'] is not defined
4848
4949# This task can be removed once the Compute Canada apt repository is configured
5050- name : Workaround - install compute canada config package directly from URL
6262- name : Install CVMFS client and configuration packages
6363 apt :
6464 name : " ['cvmfs'] + {{ cvmfs_configuration }}"
65- register : cvmfs_client_install
66-
67- # cvmfs-auto-setup package not available for debian so we have to run it manually...
68- - name : Configure AutoFS
69- command : cvmfs_config setup
70- when : cvmfs_client_install.changed
65+ register : cvmfs_client_install
0 commit comments