summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--singularity/tasks/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/singularity/tasks/main.yml b/singularity/tasks/main.yml
new file mode 100644
index 0000000..22ef647
--- /dev/null
+++ b/singularity/tasks/main.yml
@@ -0,0 +1,20 @@
+---
+- name: Add NeuroDebian GPG apt-key
+ apt_key:
+ keyserver: hkp://eu.pool.sks-keyservers.net:80
+ id: A5D32F012649A5A9
+ become: yes
+
+- name: Add NeuroDebian repository in /etc/apt/sources.list.d
+ get_url:
+ url: http://neuro.debian.net/lists/bionic.de-m.libre
+ dest: /etc/apt/sources.list.d/neurodebian.sources.list
+ checksum: sha256:0b8a1358a9f85aed8e3f51206caa9eb1babfcfbb00997c263c88cdcf2382b171
+ mode: 0644
+ become: yes
+
+- name: Update and install singularity-container
+ apt:
+ name: singularity-container
+ update_cache: yes
+ become: yes