Merge pull request #2534 from victorcoder/devel

Examples must use "name" parameter instead of "guest" for virt module, b...
reviewable/pr18780/r1
Michael DeHaan 12 years ago
commit 577e5ff587

@ -45,11 +45,11 @@ options:
"shutdown", "undefine", "destroy", "get_xml", "autostart", "shutdown", "undefine", "destroy", "get_xml", "autostart",
"freemem", "list_vms", "info", "nodeinfo", "virttype"] "freemem", "list_vms", "info", "nodeinfo", "virttype"]
examples: examples:
- code: "virt: guest=alpha state=running" - code: "virt: name=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 "name=alpha command=status"
description: "Example guest management with C(/usr/bin/ansible)" description: "Example guest management with C(/usr/bin/ansible)"
- code: ansible host -m virt -a "guest=alpha command=get_xml" - code: ansible host -m virt -a "name=alpha command=get_xml"
description: "Use C(/usr/bin/ansible) to get the xml of the guest machine alpha" description: "Use C(/usr/bin/ansible) to get the xml of the guest machine alpha"
requirements: [ "libvirt" ] requirements: [ "libvirt" ]
author: Michael DeHaan, Seth Vidal author: Michael DeHaan, Seth Vidal

Loading…
Cancel
Save