Re: [ansible-project] yum module: removing groups failing

2017-11-21 Thread John Harmon
Well, the last failure is due to using dnf on this box, which doesn't exist... that makes sense. I tried this same yml on a rhel6 box and it worked fine it must be something specific to OEL -- You received this message because you are subscribed to the Google Groups "Ansible Project"

Re: [ansible-project] yum module: removing groups failing

2017-11-21 Thread John Harmon
Anyone else? This is still an issue. TASK [Remove GUI from servers] *** failed: [ansible-oel6]

Re: [ansible-project] yum module: removing groups failing

2017-11-03 Thread John Harmon
dnf. interesting. I learned something new. These boxes do not have dnf on then, nor do the epel-repos tied to them. They are OEL 6.5 boxes for the most part. Some are OEL 6.9 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

Re: [ansible-project] yum module: removing groups failing

2017-11-03 Thread John Harmon
TASK [Remove GUI from servers] *** failed: [ansible-oel6] (item=[u'@Console internet tools',

Re: [ansible-project] yum module: removing groups failing

2017-11-03 Thread John Harmon
TASK [Remove GUI from servers] *** failed: [ansible-oel6] (item=[u'@Console internet tools',

Re: [ansible-project] yum module: removing groups failing

2017-11-03 Thread Steve McKuhr
On Fri Nov 03 2017 11:04:46 GMT-0700 (PDT) John Harmon wrote: > Is this a bug perhaps? If I change state to present, it will install > the packages just fine. If I changed the state to absent or removed, > it fails. If I leave it at absent, and change my first

Re: [ansible-project] yum module: removing groups failing

2017-11-03 Thread John Harmon
Is this a bug perhaps? If I change state to present, it will install the packages just fine. If I changed the state to absent or removed, it fails. If I leave it at absent, and change my first with_item to include {} within the quotes, then some of the packages are removed and some fail.

Re: [ansible-project] yum module: removing groups failing

2017-11-03 Thread John Harmon
All of the groups are installed on the managed server. If I run yum groupremove 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) >

Re: [ansible-project] yum module: removing groups failing

2017-11-02 Thread Steve McKuhr
On Tue Oct 31 2017 12:45:54 GMT-0700 (PDT) John Harmon wrote: > msg":"","rc":0,"results": > ["@Console internet tools is not installed", > "@General Purpose Desktop is not installed", > "@Graphical Administration Tools is not installed", > "@Graphics Creation Tools is

[ansible-project] yum module: removing groups failing

2017-10-31 Thread John Harmon
I have the following, but it fails. Do I have a syntax issue or something? I can't seem to find the problem. - hosts: "{{ host }}" tasks: - name: Remove GUI yum: name: "{{ item }}" state: absent with_items: - "@Console internet tools" -