mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-15 17:40:50 -07:00
Fix Ansible documentation in part of example formatting (#334)
This commit is contained in:
parent
58ed77e851
commit
983d937b7b
58 changed files with 376 additions and 353 deletions
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue