ANSIBLE.YUM(3)

NAME
yum - Manages packages with the I(yum) package manager

DESCRIPTION

Will install, upgrade, remove, and list packages with the yum package manager.

OPTIONS

disablerepo
    repoid of repositories to disable for the install/update operation These repos will not persist beyond the transaction Multiple repos separated with a ','(Added in Ansible version 0.9.)

enablerepo
    Repoid of repositories to enable for the install/update operation. These repos will not persist beyond the transaction multiple repos separated with a ','(Added in Ansible version 0.9.)

list
    various non-idempotent commands for usage with /usr/bin/ansible and not playbooks. See examples.

name
    package name, or package specifier with version, like name-1.0.(required)

state
    whether to install (present, latest), or remove (absent) a package. Choices: present,latest,absent. (default: present)."

EXAMPLES

yum name=httpd state=latest

yum name=httpd state=removed

yum name=httpd enablerepo=testing state=installed
None

AUTHOR
Seth Vidal

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#yum