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
1487b6a1
Commit
1487b6a1
authored
Oct 12, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1313 from dagwieers/vsphere_facts-cleanup
vsphere_facts: Various cleanups in documentation
parents
3a8dc230
5fe8205d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
library/vsphere_facts
+6
-6
No files found.
library/vsphere_facts
View file @
1487b6a1
...
...
@@ -47,11 +47,12 @@ options:
- The virtual server to gather facts for on the vSphere cluster.
required: true
examples:
- code: |
local_action: vsphere_facts host=$esxserver login=$esxlogin password=$esxpassword guest=$inventory_hostname_short
- description: Task to gather facts from a vSphere cluster only if the system is a VMWare guest
code: |
- local_action: vsphere_facts host=$esxserver login=$esxlogin password=$esxpassword guest=$inventory_hostname_short
only_if: "'$cmdb_hwmodel'.startswith('VMWare ')
description: Task to gather facts from a vSphere cluster only if the system is a VMWare
guest
-
code:
- description: Typical output of a vsphere_facts run on a
guest
code:
- hw_eth0:
- addresstype: "assigned"
label: "Network adapter 1"
...
...
@@ -64,10 +65,9 @@ examples:
hw_name: "centos6"
hw_processor_count: 1
hw_product_uuid: "ef50bac8-2845-40ff-81d9-675315501dac"
description: Typical output of a vsphere_facts run on a guest
notes:
- This module ought to be run from a system that can access vSphere directly.
Either by using
C(local_action), or C(using delegate)
_to.
Either by using
local_action, or using delegate
_to.
'''
import
sys
...
...
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