Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
427b49c1
Commit
427b49c1
authored
Feb 28, 2013
by
fdavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
virt module doc fix
parent
b5ad1ce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
library/virt
+6
-5
No files found.
library/virt
View file @
427b49c1
...
@@ -35,21 +35,22 @@ options:
...
@@ -35,21 +35,22 @@ options:
since these refer only to VM states. After starting a guest, it may not
since these refer only to VM states. After starting a guest, it may not
be immediately accessible.
be immediately accessible.
required: false
required: false
choices: [ "running", "shutdown"
, "destroyed", "undefined"
]
choices: [ "running", "shutdown" ]
default: "no"
default: "no"
command:
command:
description:
description:
- in addition to state management, various non-idempotent commands are available. See examples
- in addition to state management, various non-idempotent commands are available. See examples
required: false
required: false
choices: ["create","status", "start", "stop", "pause", "unpause",
"shutdown", "undefine", "destroy", "get_xml", "autostart",
"freemem", "list_vms", "info", "nodeinfo", "virttype"]
examples:
examples:
- code: "virt: guest=alpha state=running"
- code: "virt: guest=alpha state=running"
description: "Example from Ansible Playbooks"
description: "Example from Ansible Playbooks"
- code: ansible host -m virt -a "guest=alpha command=status"
- code: ansible host -m virt -a "guest=alpha command=status"
description: "Example guest management with C(/usr/bin/ansible)"
description: "Example guest management with C(/usr/bin/ansible)"
notes:
- code: ansible host -m virt -a "guest=alpha command=get_xml"
- "Other non-idempotent commands are: C(status), C(pause), C(unpause),
description: "Use C(/usr/bin/ansible) to get the xml of the guest machine alpha"
C(get_xml), C(autostart), C(freemem), C(list_vms), C(info), C(nodeinfo),
C(virttype)"
requirements: [ "libvirt" ]
requirements: [ "libvirt" ]
author: Michael DeHaan, Seth Vidal
author: Michael DeHaan, Seth Vidal
'''
'''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment