Yum Groupinstall Documentation vs Reality?

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 :slight_smile:

Thank you
Davide

In the link you mentioned I can see:

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

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…

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 as much as you can :slight_smile:

Regards,