From a03a656b18ded9df2abce43227c323c119391492 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Thu, 25 Apr 2019 15:06:45 +0200 Subject: [PATCH] Prevent crash on Docker+Buster --- Vagrantfile | 2 +- tests/includes/post_Debian.yml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 8d1e7ab..8469fae 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -36,7 +36,7 @@ Vagrant.configure("2") do |config| ansible.playbook = "tests/test.yml" ansible.verbose = 'vv' ansible.become = true - ansible.extra_vars = opts[:vars].merge({ "nginx_debug_role": true }) + ansible.extra_vars = opts[:vars].merge({ "nginx_debug_role": true, is_docker: true }) end end end diff --git a/tests/includes/post_Debian.yml b/tests/includes/post_Debian.yml index 80de3ef..027a424 100644 --- a/tests/includes/post_Debian.yml +++ b/tests/includes/post_Debian.yml @@ -1,6 +1,6 @@ --- -- name: APT | Install webapps +- name: APT | Install webapps and related tools apt: pkg: "{{ packages }}" state: present @@ -8,8 +8,12 @@ vars: packages: - backuppc + - samba-common-bin + - smbclient - name: SERVICE | Ensure backuppc is started service: name: backuppc state: started + register: b + failed_when: b.failed and 'Another BackupPC is running' not in b.msg