mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2559 from mavimo/feature/documentation-vagrant
vagrant module documentation
This commit is contained in:
commit
0440c48fe0
1 changed files with 8 additions and 7 deletions
|
@ -19,7 +19,7 @@ DOCUMENTATION = '''
|
|||
module: vagrant
|
||||
short_description: create a local instance via vagrant
|
||||
description:
|
||||
- creates VM instances via vagrant and optionally waits for it to be 'running'. This module has a dependency on python-vagrant.
|
||||
- creates VM instances via vagrant and optionally waits for it to be 'running'.
|
||||
version_added: "1.1"
|
||||
options:
|
||||
state:
|
||||
|
@ -27,10 +27,11 @@ options:
|
|||
- Should the VMs be "present" or "absent."
|
||||
cmd:
|
||||
description:
|
||||
- vagrant subcommand to execute. Can be "up," "status," "config," "ssh," "halt," "destroy" or "clear."
|
||||
- vagrant subcommand to execute.
|
||||
required: false
|
||||
default: null
|
||||
aliases: ['command']
|
||||
choices: [ "up", "status", "config", "ssh", "halt", "destroy", "clear" ]
|
||||
box_name:
|
||||
description:
|
||||
- vagrant boxed image to start
|
||||
|
@ -68,7 +69,7 @@ options:
|
|||
examples:
|
||||
- code: 'local_action: vagrant cmd=up box_name=lucid32 vm_name=webserver'
|
||||
description:
|
||||
requirements: [ "vagrant" ]
|
||||
requirements: [ "vagrant", "python-vagrant" ]
|
||||
author: Rob Parrott
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue