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
parent 58ed77e851
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

@ -83,28 +83,28 @@ author: "Tim Hoiberg (@thoiberg)"
'''
EXAMPLES = '''
# Installs gems from a Gemfile in the current directory
- bundler:
- name: Install gems from a Gemfile in the current directory
bundler:
state: present
executable: ~/.rvm/gems/2.1.5/bin/bundle
# Excludes the production group from installing
- bundler:
- name: Exclude the production group from installing
bundler:
state: present
exclude_groups: production
# Install gems into ./vendor/bundle
- bundler:
- name: Install gems into ./vendor/bundle
bundler:
state: present
deployment_mode: yes
# Installs gems using a Gemfile in another directory
- bundler:
- name: Install gems using a Gemfile in another directory
bundler:
state: present
gemfile: ../rails_project/Gemfile
# Updates Gemfile in another directory
- bundler:
- name: Update Gemfile in another directory
bundler:
state: latest
chdir: ~/rails_project
'''