mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-10 16:14:22 -07:00
Library functions and modules should be in the 3 man page section. Also the files should end in '.3'
This commit is contained in:
parent
53d24ef002
commit
85fb7c6d4b
45 changed files with 10 additions and 8 deletions
44
docs/man/man3/ansible.apt_repository.3
Normal file
44
docs/man/man3/ansible.apt_repository.3
Normal file
|
@ -0,0 +1,44 @@
|
|||
.TH ANSIBLE.APT_REPOSITORY 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
|
||||
." generated from library/apt_repository
|
||||
.SH NAME
|
||||
apt_repository \- Manages apt repositores
|
||||
." ------ DESCRIPTION
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
Manages apt repositores (such as for Debian/Ubuntu).
|
||||
." ------ OPTIONS
|
||||
."
|
||||
."
|
||||
.SH OPTIONS
|
||||
|
||||
.IP repo
|
||||
The repository name/value(required)
|
||||
.IP state
|
||||
The repository state
|
||||
.IR Choices :
|
||||
present,absent. (default: present)."
|
||||
."
|
||||
." ------ NOTES
|
||||
.SH NOTES
|
||||
.PP
|
||||
This module works on Debian and Ubuntu only and requires \fCapt-add-repository\fR be available on destination server. To ensure this package is available use the \fCapt\fR module and install the \fCpython-software-properties\fR package before using this module.
|
||||
.PP
|
||||
A bug in \fCapt-add-repository\fR always adds \fCdeb\fR and \fCdeb-src\fR types for repositories (see the issue on Launchpad \fIhttps://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264\fR), if a repo doesn't have source information (eg MongoDB repo from 10gen) the system will fail while updating repositories.
|
||||
."
|
||||
."
|
||||
." ------ EXAMPLES
|
||||
.SH EXAMPLES
|
||||
.PP
|
||||
.nf
|
||||
apt_repository repo=ppa://nginx/stable
|
||||
.fi
|
||||
.PP
|
||||
.nf
|
||||
apt_repository repo='deb http://archive.canonical.com/ubuntu hardy partner'
|
||||
.fi
|
||||
." ------- AUTHOR
|
||||
.SH AUTHOR
|
||||
Matt Wright
|
||||
.SH SEE ALSO
|
||||
.IR ansible (1),
|
||||
.I http://ansible.github.com/modules.html#apt-repository
|
Loading…
Add table
Add a link
Reference in a new issue