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
1b36446a
Commit
1b36446a
authored
Oct 08, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1255 from dagwieers/module-namespace
Add this module's namespace to the 'module_' namespace.
parents
5a16a270
b39aed87
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
library/hpilo_facts
+3
-1
library/vsphere_facts
+1
-0
No files found.
library/hpilo_facts
View file @
1b36446a
...
...
@@ -124,7 +124,9 @@ def main():
# TODO: Count number of CPUs, DIMMs and total memory
data
=
ilo
.
get_host_data
()
facts
=
{}
facts
=
{
'module_hw'
:
True
,
}
for
entry
in
data
:
if
not
entry
.
has_key
(
'type'
):
continue
if
entry
[
'type'
]
==
0
:
# BIOS Information
...
...
library/vsphere_facts
View file @
1b36446a
...
...
@@ -107,6 +107,7 @@ def main():
data
=
vm
.
get_properties
()
facts
=
{
'module_hw'
:
True
,
'hw_name'
:
vm
.
properties
.
name
,
'hw_guest_full_name'
:
vm
.
properties
.
config
.
guestFullName
,
'hw_guest_id'
:
vm
.
properties
.
config
.
guestId
,
...
...
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