summaryrefslogtreecommitdiffstats
path: root/roles/cuda/tests/install.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-07-05 16:22:58 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-07-05 16:22:58 +0200
commit0b3d99f96dabb1aa2fbf7f99559852916a97d610 (patch)
treeb56e453cf5182a24c6878c23f5985781928d1e57 /roles/cuda/tests/install.yml
parent5416f8599ffa92b69bb87434dc1175d760760bbe (diff)
parent813756495d5ef33fa3cc95d69b6d88418ebe7bb1 (diff)
downloaditm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.tar.gz
itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.tar.bz2
itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.tar.xz
itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.zip
Merge commit '813756495d5ef33fa3cc95d69b6d88418ebe7bb1' as 'roles/cuda'
Diffstat (limited to 'roles/cuda/tests/install.yml')
-rw-r--r--roles/cuda/tests/install.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/cuda/tests/install.yml b/roles/cuda/tests/install.yml
new file mode 100644
index 0000000..03b9360
--- /dev/null
+++ b/roles/cuda/tests/install.yml
@@ -0,0 +1,23 @@
+---
+- hosts: localhost
+ connection: local
+ roles:
+ - { name: lae.travis-lxc }
+ vars:
+ host_quantity: 1
+
+# Run the following within the containers in the inventory
+- hosts: all
+ tasks:
+ # Solution for avahi-daemon issue from https://github.com/lxc/lxc/issues/25
+ - block:
+ - name: Install avahi-daemon early on Ubuntu 16 containers
+ package:
+ name: avahi-daemon
+ ignore_errors: True
+ - name: Remove nproc from avahi-daemon.conf
+ lineinfile:
+ dest: /etc/avahi/avahi-daemon.conf
+ regexp: "^rlimit-nproc="
+ state: absent
+ when: "ansible_distribution_release == 'xenial'"