mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
45 lines
No EOL
972 B
Groff
45 lines
No EOL
972 B
Groff
.TH ANSIBLE.YUM 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
|
|
." generated from library/yum
|
|
.SH NAME
|
|
yum \- Manages packages with the I(yum) package manager
|
|
." ------ DESCRIPTION
|
|
.SH DESCRIPTION
|
|
.PP
|
|
Will install, upgrade, remove, and list packages with the \fIyum\fR package manager.
|
|
." ------ OPTIONS
|
|
."
|
|
."
|
|
.SH OPTIONS
|
|
|
|
.IP state
|
|
whether to install (\fCpresent\fR, \fClatest\fR), or remove (\fCabsent\fR) a package.
|
|
.IR Choices :
|
|
present,latest,absent. (default: present)
|
|
.IP list
|
|
various non-idempotent commands for usage with \fC/usr/bin/ansible\fR and \fInot\fR playbooks. See examples.
|
|
.IP name
|
|
package name, or package specifier with version, like \fCname-1.0\fR.(required)."
|
|
."
|
|
." ------ NOTES
|
|
."
|
|
."
|
|
." ------ EXAMPLES
|
|
.SH EXAMPLES
|
|
.PP
|
|
.nf
|
|
yum name=httpd state=latest
|
|
.fi
|
|
.PP
|
|
.nf
|
|
yum name=httpd state=removed
|
|
.fi
|
|
.PP
|
|
.nf
|
|
yum name=httpd state=installed
|
|
.fi
|
|
." ------- AUTHOR
|
|
.SH AUTHOR
|
|
Seth Vidal
|
|
.SH SEE ALSO
|
|
.IR ansible (1),
|
|
.I http://ansible.github.com/modules.html#yum |