1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ppa syntax in apt_repository module doc

The example for using a ppa had the wrong syntax.

Ironically, the correct syntax is illustrated in a comment on line 23.
This commit is contained in:
Lorin Hochstein 2012-12-11 23:01:36 -05:00
parent 959a461080
commit f8821fa3d9

View file

@ -48,7 +48,7 @@ notes:
- A bug in C(apt-add-repository) always adds C(deb) and C(deb-src) types for repositories (see the issue on Launchpad U(https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264)), if a repo doesn't have source information (eg MongoDB repo from 10gen) the system will fail while updating repositories. - A bug in C(apt-add-repository) always adds C(deb) and C(deb-src) types for repositories (see the issue on Launchpad U(https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264)), if a repo doesn't have source information (eg MongoDB repo from 10gen) the system will fail while updating repositories.
author: Matt Wright author: Matt Wright
examples: examples:
- code: "apt_repository: repo=ppa://nginx/stable" - code: "apt_repository: repo=ppa:nginx/stable"
description: Add nginx stable repository from PPA description: Add nginx stable repository from PPA
- code: "apt_repository: repo='deb http://archive.canonical.com/ubuntu hardy partner'" - code: "apt_repository: repo='deb http://archive.canonical.com/ubuntu hardy partner'"
description: Add specified repository into sources. description: Add specified repository into sources.