Prevent crash on Docker+Buster

pull/41/head 1.6.0
Emilien Mantel 2019-04-25 15:06:45 +02:00
parent 1239219d90
commit a03a656b18
2 changed files with 6 additions and 2 deletions

2
Vagrantfile vendored
View File

@ -36,7 +36,7 @@ Vagrant.configure("2") do |config|
ansible.playbook = "tests/test.yml" ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv' ansible.verbose = 'vv'
ansible.become = true 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 end
end end

View File

@ -1,6 +1,6 @@
--- ---
- name: APT | Install webapps - name: APT | Install webapps and related tools
apt: apt:
pkg: "{{ packages }}" pkg: "{{ packages }}"
state: present state: present
@ -8,8 +8,12 @@
vars: vars:
packages: packages:
- backuppc - backuppc
- samba-common-bin
- smbclient
- name: SERVICE | Ensure backuppc is started - name: SERVICE | Ensure backuppc is started
service: service:
name: backuppc name: backuppc
state: started state: started
register: b
failed_when: b.failed and 'Another BackupPC is running' not in b.msg