From eb1411a826ffed5b7169847c1d17cd188471c5ef Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Fri, 8 May 2015 21:18:59 -0500 Subject: [PATCH] Interpolate container name into error message In the event failed to start, the container name was not being properly interpolated into the error message. --- lib/ansible/modules/extras/cloud/lxc/lxc_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/lxc/lxc_container.py b/lib/ansible/modules/extras/cloud/lxc/lxc_container.py index 7e718608287..a7c768c2239 100644 --- a/lib/ansible/modules/extras/cloud/lxc/lxc_container.py +++ b/lib/ansible/modules/extras/cloud/lxc/lxc_container.py @@ -797,7 +797,7 @@ class LxcContainerManagement(object): rc=1, msg='The container [ %s ] failed to start. Check to lxc is' ' available and that the container is in a functional' - ' state.' + ' state.' % self.container_name ) def _check_archive(self):