From c3c9f46ba4c3e8dd7cd8e273c7165c7f08656fa6 Mon Sep 17 00:00:00 2001 From: Milad Soufastai Date: Wed, 23 Sep 2015 09:40:36 -0400 Subject: [PATCH] Updating Description to provide better explanation of what the use_sudo flag does --- lib/ansible/modules/extras/packaging/language/cpanm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/packaging/language/cpanm.py b/lib/ansible/modules/extras/packaging/language/cpanm.py index af7224ce5ce..82a6b5d0a0c 100644 --- a/lib/ansible/modules/extras/packaging/language/cpanm.py +++ b/lib/ansible/modules/extras/packaging/language/cpanm.py @@ -66,7 +66,7 @@ options: version_added: "2.0" use_sudo: description: - - Use sudo flag for cpanm + - Use this if you want to install modules to the system perl include path. required: false default: false version_added: "2.0" @@ -94,7 +94,7 @@ EXAMPLES = ''' # install Dancer perl package from a specific mirror - 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 '''