From e3167c9baf57eadc2c0cff3fcc94eb3d511c0262 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sat, 12 Nov 2016 01:23:01 +0100 Subject: [PATCH] add fix for lxc_container module and files descriptor leaking --- roles/lxc_guest/tasks/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/lxc_guest/tasks/main.yaml b/roles/lxc_guest/tasks/main.yaml index cff60ed..2a5933e 100644 --- a/roles/lxc_guest/tasks/main.yaml +++ b/roles/lxc_guest/tasks/main.yaml @@ -22,6 +22,10 @@ template: debian template_options: --release {{ distro }} --packages=ssh,python state: stopped + # suppress messages related to file descriptors + # leaking when lvm is invoked + environment: + LVM_SUPPRESS_FD_WARNINGS: 1 - name: deploy container config template: