From 607b7c14bddba7bb4314a33bb2089cfc380037b7 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sat, 3 Oct 2015 01:09:03 +0100 Subject: [PATCH] Fix incorrect variable in group.py: user -> group --- lib/ansible/modules/system/group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/group.py b/lib/ansible/modules/system/group.py index b6c1178ff0..8edb93a1d0 100755 --- a/lib/ansible/modules/system/group.py +++ b/lib/ansible/modules/system/group.py @@ -390,7 +390,7 @@ def main(): group = Group(module) module.debug('Group instantiated - platform %s' % group.platform) - if user.distribution: + if group.distribution: module.debug('Group instantiated - distribution %s' % group.distribution) rc = None