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
e38eb258
Commit
e38eb258
authored
Apr 19, 2015
by
Romain Dartigues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undefined names found by pyflakes
parent
f4172fb9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
plugins/inventory/consul_io.py
+1
-0
plugins/inventory/softlayer.py
+1
-1
No files found.
plugins/inventory/consul_io.py
View file @
e38eb258
...
@@ -125,6 +125,7 @@ import os
...
@@ -125,6 +125,7 @@ import os
import
re
import
re
import
argparse
import
argparse
from
time
import
time
from
time
import
time
import
sys
import
ConfigParser
import
ConfigParser
import
urllib
,
urllib2
,
base64
import
urllib
,
urllib2
,
base64
...
...
plugins/inventory/softlayer.py
View file @
e38eb258
...
@@ -55,7 +55,7 @@ class SoftLayerInventory(object):
...
@@ -55,7 +55,7 @@ class SoftLayerInventory(object):
self
.
get_all_servers
()
self
.
get_all_servers
()
print
self
.
json_format_dict
(
self
.
inventory
,
True
)
print
self
.
json_format_dict
(
self
.
inventory
,
True
)
elif
self
.
args
.
host
:
elif
self
.
args
.
host
:
self
.
get_virtual_servers
(
client
)
self
.
get_virtual_servers
()
print
self
.
json_format_dict
(
self
.
inventory
[
"_meta"
][
"hostvars"
][
self
.
args
.
host
],
True
)
print
self
.
json_format_dict
(
self
.
inventory
[
"_meta"
][
"hostvars"
][
self
.
args
.
host
],
True
)
def
to_safe
(
self
,
word
):
def
to_safe
(
self
,
word
):
...
...
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