Merge pull request #1335 from phgrau/devel

Use && for executing next command if, and only if, command1 returns an e...
This commit is contained in:
Michael DeHaan 2012-10-16 15:16:46 -07:00
commit 51c6be3289

View file

@ -44,6 +44,7 @@ options:
choices: [ "present", "absent" ]
notes:
- This module works on Debian and Ubuntu only and requires C(apt-add-repository) be available on destination server. To ensure this package is available use the C(apt) module and install the C(python-software-properties) package before using this module.
- This module works not on Debian Squeeze (Version 6) as there is no implementation of C(add-apt-repository) in C(python-software-properties)
- 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
examples: