TASK [Remove GUI from servers] 
***********************************************************************************************************************************************************************************************************
failed: [ansible-oel6] (item=[u'@Console internet tools', u'@General 
Purpose Desktop', u'@Graphical Administration Tools', u'@Graphics Creation 
Tools', u'@Internet Browser', u'@KDE Desktop', u'@Legacy X Window System 
compatibility', u'@Remote Desktop Clients', u'@TeX support', u'@Technical 
Writing', u'@X Window System', u'@Desktop', u'@Desktop Debugging and 
Performance Tools', u'@Dial-up Networking Support', u'@Remote Desktop 
Clients']) => {"changed": false, "cmd": "dnf install -y python2-dnf", 
"failed": true, "item": ["@Console internet tools", "@General Purpose 
Desktop", "@Graphical Administration Tools", "@Graphics Creation Tools", 
"@Internet 
Browser", "@KDE Desktop", "@Legacy X Window System compatibility", "@Remote 
Desktop Clients", "@TeX support", "@Technical Writing", "@X Window System", 
"@Desktop", "@Desktop Debugging and Performance Tools", "@Dial-up 
Networking Support", "@Remote Desktop Clients"], "msg": "[Errno 2] No such 
file or directory", "rc": 2}



On Friday, November 3, 2017 at 12:44:35 PM UTC-6, Steve McKuhr wrote:
>
> On Fri Nov 03 2017 11:04:46 GMT-0700 (PDT) John Harmon 
> <[email protected] <javascript:>> 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 with_item to 
> > include {} within the quotes, then some of the packages are removed 
> > and some fail. 
>
> Same results with the DNF plugin? 
>
> -- 
> Viorel 
>

-- 
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/601cf604-78b6-4387-8dbc-cb6251f3d297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to