Fix Ansible documentation in part of example formatting (#334)

This commit is contained in:
Andrew Klychkov 2020-05-15 13:12:41 +03:00 committed by GitHub
commit 983d937b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 376 additions and 353 deletions

View file

@ -66,42 +66,41 @@ author: "Franck Cuny (@fcuny)"
'''
EXAMPLES = '''
# install Dancer perl package
- cpanm:
- name: Install Dancer perl package
cpanm:
name: Dancer
# install version 0.99_05 of the Plack perl package
- cpanm:
- name: Install version 0.99_05 of the Plack perl package
cpanm:
name: MIYAGAWA/Plack-0.99_05.tar.gz
# install Dancer into the specified locallib
- cpanm:
- name: Install Dancer into the specified locallib
cpanm:
name: Dancer
locallib: /srv/webapps/my_app/extlib
# install perl dependencies from local directory
- cpanm:
- name: Install perl dependencies from local directory
cpanm:
from_path: /srv/webapps/my_app/src/
# install Dancer perl package without running the unit tests in indicated locallib
- cpanm:
- name: Install Dancer perl package without running the unit tests in indicated locallib
cpanm:
name: Dancer
notest: True
locallib: /srv/webapps/my_app/extlib
# install Dancer perl package from a specific mirror
- cpanm:
- name: Install Dancer perl package from a specific mirror
cpanm:
name: Dancer
mirror: 'http://cpan.cpantesters.org/'
# install Dancer perl package into the system root path
- cpanm:
- name: Install Dancer perl package into the system root path
cpanm:
name: Dancer
system_lib: yes
# install Dancer if it's not already installed
# OR the installed version is older than version 1.0
- cpanm:
- name: Install Dancer if it is not already installed OR the installed version is older than version 1.0
cpanm:
name: Dancer
version: '1.0'
'''