Updating Description to provide better explanation of what the use_sudo flag does

This commit is contained in:
Milad Soufastai 2015-09-23 09:40:36 -04:00 committed by Matt Clay
parent 07a4ab2fc5
commit c3c9f46ba4

View file

@ -66,7 +66,7 @@ options:
version_added: "2.0" version_added: "2.0"
use_sudo: use_sudo:
description: description:
- Use sudo flag for cpanm - Use this if you want to install modules to the system perl include path.
required: false required: false
default: false default: false
version_added: "2.0" version_added: "2.0"
@ -94,7 +94,7 @@ EXAMPLES = '''
# install Dancer perl package from a specific mirror # install Dancer perl package from a specific mirror
- cpanm: name=Dancer mirror=http://cpan.cpantesters.org/ - cpanm: name=Dancer mirror=http://cpan.cpantesters.org/
# install Dancer perl package using --sudo flag # install Dancer perl package into the system root path
- cpanm: name=Dancer use_sudo=yes - cpanm: name=Dancer use_sudo=yes
''' '''