From e1846d2e4b22648f45035fec1cc29b5055eb5732 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 30 Mar 2016 17:07:10 +0200 Subject: [PATCH] do not set a default config for lxc containers otherwise deploying user-containers fail as these require information from ~/.config/lxc/default.conf that the LXC tools will load if no --config was supplied Signed-off-by: Evgeni Golov --- lib/ansible/modules/extras/cloud/lxc/lxc_container.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/lxc/lxc_container.py b/lib/ansible/modules/extras/cloud/lxc/lxc_container.py index 50d3cedd59..3b460d04ad 100644 --- a/lib/ansible/modules/extras/cloud/lxc/lxc_container.py +++ b/lib/ansible/modules/extras/cloud/lxc/lxc_container.py @@ -57,7 +57,6 @@ options: description: - Path to the LXC configuration file. required: false - default: /etc/lxc/default.conf lv_name: description: - Name of the logical volume, defaults to the container name. @@ -1687,7 +1686,6 @@ def main(): ), config=dict( type='str', - default='/etc/lxc/default.conf' ), vg_name=dict( type='str',