.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