26
26
when : ' "cvmfs-config-computecanada" in cvmfs_configuration'
27
27
28
28
# 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.
30
30
# There is no benefit to abstracting this with the apt_repository module, and doing so would break idempotence
31
31
# because these packages update themselves via their own apt repositories.
32
32
37
37
when : ansible_facts.packages['cvmfs-release'] is not defined
38
38
39
39
# 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
48
48
49
49
# This task can be removed once the Compute Canada apt repository is configured
50
50
- name : Workaround - install compute canada config package directly from URL
61
61
62
62
- name : Install CVMFS client and configuration packages
63
63
apt :
64
- 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
64
+ name : " ['cvmfs'] + {{ cvmfs_configuration }}"
0 commit comments