From de442415a0deaba217aed904fcaa2b2b61c1c10b Mon Sep 17 00:00:00 2001 From: Julien Pepy Date: Mon, 28 Jul 2014 08:26:38 +0200 Subject: [PATCH] Fix composer module checkmode and change detection --- lib/ansible/modules/extras/packaging/language/composer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/extras/packaging/language/composer.py b/lib/ansible/modules/extras/packaging/language/composer.py index 5d8ba563c8b..f788f53dd5c 100644 --- a/lib/ansible/modules/extras/packaging/language/composer.py +++ b/lib/ansible/modules/extras/packaging/language/composer.py @@ -138,6 +138,7 @@ def main(): if module.check_mode: options.add("--dry-run") + del module.params['CHECKMODE'] # Get composer command with fallback to default command = module.params['command']