From f4eed3710ba24e61ea0ec6617ed52fbc615d7e2d Mon Sep 17 00:00:00 2001 From: Les Aker Date: Sun, 27 Jan 2013 12:39:35 -0500 Subject: [PATCH] fixed check for required_together --- lib/ansible/module_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py index b7e750f61b..4ed02f732a 100644 --- a/lib/ansible/module_common.py +++ b/lib/ansible/module_common.py @@ -481,7 +481,7 @@ class AnsibleModule(object): if spec is None: return for check in spec: - counts = [ self.count_terms([field]) for field in check ] + counts = [ self._count_terms([field]) for field in check ] non_zero = [ c for c in counts if c > 0 ] if len(non_zero) > 0: if 0 in counts: