All of the groups are installed on the managed server. If I run yum groupremove <groupname> on the server it removes fine. It is just within ansible that it is failing. Ansible has you reference groups with @groupname in the yum module. These aren't environment groups (referenced with @^groupname)
> > It looks to me like that's the clue: are any of the groups in > 'with_items' installed? > > So although Ansible command completed successfully the yum return code > is 1 which accounts for a failure: > > [root@leel ~]# dnf remove "@x" ; echo $? > Warning: Group 'x' is not installed. > Error: No groups marked for removal. > 1 > > Does that make sense? > > -Steve > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0a0657e2-e874-47ae-a94a-e165d9393463%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
