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" gro
Anyone else? This is still an issue.
TASK [Remove GUI from servers]
***
failed: [ansible-oel6]
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 unsubsc
TASK [Remove GUI from servers]
***
failed: [ansible-oel6] (item=[u'@Console internet tools', u'@Ge
TASK [Remove GUI from servers]
***
failed: [ansible-oel6] (item=[u'@Console internet tools', u'@Ge
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 with_item to
> include {} with
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.
Th
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)
>
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 not installed",
> "@Internet
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"
- "@Genera
10 matches
Mail list logo