Home > Software design >  Why @ is added before the package name in ansible
Why @ is added before the package name in ansible

Time:10-26

i would ask you why it was added @ before Development tools and what is the purpose from it. I know that's used to include all of the parameters passed to the package.

- name: Install the 'Development tools' package group
  ansible.builtin.yum:
    name: "@Development tools"
    state: present

CodePudding user response:

Why @ is added before the package name in ansible

Because it's not a package, it's a group.

what's the purpose of the '@'

To differentiate between package names and package groups.

  • Related