Yum Groupinstall Documentation vs Reality?

23 views
Skip to first unread message

Davide Scrimieri

unread,
Apr 29, 2020, 8:19:54 AM4/29/20
to ansible...@googlegroups.com
Hello

The documentation here , specifically states

 Package groups are specified as “@development-tools”

During the DO407 exam I was explicitly asked to intsall the Development Tools group. By following the documentation I  did this

ansible servera -m yum -a "name='@development-tools' state=present" --become -vv

and did not work. This resulted in me failing this task.

When I went back home I actually discovered that what works is this:

ansible servera -m yum -a "name='@Development Tools' state=present" --become -vv

I am inclined to say that I have failed this task during the exam BECAUSE of the documentation, but before making up my mind I would like to ask for your opinion :)

Thank you
Davide

Jorge Rúa

unread,
Apr 29, 2020, 8:44:07 AM4/29/20
to ansible...@googlegroups.com
In the link you mentioned I can see:

- name: install the 'Development tools' package group
  yum:
    name: "@Development tools"
    state: present


--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEOhr7-nCj5ozRCCCPpZxJoNQwrFdDvEhOGPe%3DUSzynViiPUNA%40mail.gmail.com.

Davide Scrimieri

unread,
Apr 29, 2020, 9:11:13 AM4/29/20
to ansible...@googlegroups.com
oh wow...well, my problems is also that i stopped reading at the blue box, this is why I did not read further in the examples given.

Isn't it misleading though? In the blue-box, the Notes section it actually says:

"Package groups are specified as “@development-tools” and environment groups are “@^gnome-desktop-environment”. Use the “yum group list hidden ids” command to see which category of group the group you want to install falls into."

This is why I stopped reading there...

Jorge Rúa

unread,
Apr 29, 2020, 9:32:49 AM4/29/20
to ansible...@googlegroups.com
Yeah, indeed ... may be you can raise a PR to address this issue?
It's not very clear to me as well. 
For DO407 exam my advice is using ansible-doc <module> as much as you can :) 

Regards,


Reply all
Reply to author
Forward
0 new messages