Skip to content

Commit 8c1d041

Browse files
committed
run config
1 parent c7f1b5e commit 8c1d041

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

meta/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ galaxy_info:
5151
versions:
5252
- 6
5353
- 7
54+
- 8
55+
- name: Ubuntu
56+
versions:
57+
- bionic
5458

5559
galaxy_tags: []
5660
# List tags for your role here, one per line. A tag is a keyword that describes

tasks/debian.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
2-
31
# The CERNVM GPG key is the trust anchor for the secure installation of the CVMFS client.
42
#
53
# The Compute Canada CVMFS GPG key is the trust anchor for the secure distribution of the Compute Canada software stack (and other content), as follows:
@@ -11,7 +9,7 @@
119

1210
- name: Install gpg agent
1311
apt:
14-
name: [ 'gpg-agent' ]
12+
name: ['gpg-agent']
1513

1614
- name: Install CernVM GPG key
1715
apt_key:
@@ -54,21 +52,19 @@
5452
deb: "https://package.computecanada.ca/yum/cc-cvmfs-public/prod/other/cvmfs-config-computecanada-latest.all.deb"
5553
update_cache: true
5654
when:
57-
- '"cvmfs-config-computecanada" in cvmfs_configuration'
55+
- '"cvmfs-config-computecanada" in cvmfs_configuration'
5856

5957
- name: Install other prerequisite packages
6058
apt:
61-
name: [ 'lvm2' ]
59+
name: ['lvm2']
6260
when: cvmfs_client_configure_storage | bool
6361

6462
- name: Install CVMFS client and configuration packages
6563
apt:
6664
name: "['cvmfs'] + {{ cvmfs_configuration }}"
67-
vars:
68-
cvmfs_auto_setup_package: "{{ ['cvmfs-auto-setup'] if cvmfs_auto_setup|bool else [] }}"
65+
register: cvmfs_client_install
6966

70-
- name: Reload autofs service
71-
service:
72-
name: autofs
73-
state: reloaded
74-
changed_when: false
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

tasks/redhat.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
---
32

43
# The CERNVM GPG key is the trust anchor for the secure installation of the CVMFS client.

tasks/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
command: /usr/bin/cvmfs_config probe
88
changed_when: false
99
check_mode: no
10-

0 commit comments

Comments
 (0)