Re: [ansible-project] group module fails when trying to delete non local group

2015-09-21 Thread Andrea Tartaglia
Yes, That would indeed cause the opposite problem when creating groups! Didn’t really think about that, was focusing on the deletion Yes, probably adding a ‘local_only’ to both the modules makes more sense, and should keep the return correct in both cases. Thanks, Andrea > On 18 Sep 2015, at

Re: [ansible-project] group module fails when trying to delete non local group

2015-09-18 Thread Brian Coca
Won't that cause the opposite problem when creating groups? Also I believe the return is correct, it failed to delete the group as it is not a local group and will still be present on the machine. We might want to add a 'local_only' flag to both this and user to be more specific on what you want as

[ansible-project] group module fails when trying to delete non local group

2015-09-17 Thread Andrea Tartaglia
Hi list, Sorry for the probably confusing subject, but I don’t really know how to say that better, I’ll try to explain better: In my environment I have a requirement to remove certain local groups ( that have now been moved to remote groups ) and found out the behaviour of the module is quite