From afbaffa1c580329f624f6383f525afd8bee77906 Mon Sep 17 00:00:00 2001 From: Hiroaki Nakamura Date: Tue, 5 Jul 2016 21:37:41 +0900 Subject: [PATCH] Change command to check python is installed --- cloud/lxd/lxd_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/lxd/lxd_container.py b/cloud/lxd/lxd_container.py index 77fa7bc1402..12a64775215 100644 --- a/cloud/lxd/lxd_container.py +++ b/cloud/lxd/lxd_container.py @@ -170,7 +170,7 @@ EXAMPLES = """ - name: check python is installed in container delegate_to: mycontainer - raw: dpkg-query -W -f='${Status}' python + raw: dpkg -s python register: python_install_check failed_when: python_install_check.rc not in [0, 1] changed_when: false