.. _yum: yum `````````````````````````````` Will install, upgrade, remove, and list packages with the *yum* package manager. .. raw:: html
parameter | required | default | choices | comments |
---|---|---|---|---|
state | no | present |
|
whether to install (present , latest ), or remove (absent ) a package. |
list | no | various non-idempotent commands for usage with /usr/bin/ansible and not playbooks. See examples. |
||
name | yes | package name, or package specifier with version, like name-1.0 . |
yum name=httpd state=latest
yum name=httpd state=removed
yum name=httpd state=installed