From 813756495d5ef33fa3cc95d69b6d88418ebe7bb1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 5 Jul 2018 16:22:58 +0200 Subject: Squashed 'roles/cuda/' content from commit f82a4fe git-subtree-dir: roles/cuda git-subtree-split: f82a4fedb62a410b1f05454ee5ba5f2e5ff0a16c --- tests/install.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/install.yml (limited to 'tests/install.yml') diff --git a/tests/install.yml b/tests/install.yml new file mode 100644 index 0000000..03b9360 --- /dev/null +++ b/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'" -- cgit v1.2.3