Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jiffybox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Plugins
jiffybox
Commits
8ff41dd9
Commit
8ff41dd9
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix for Ansible 2.x compatibility
parent
191fe2c1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
action_plugins/jiffybox.py
+2
-2
2 additions, 2 deletions
action_plugins/jiffybox.py
with
2 additions
and
2 deletions
action_plugins/jiffybox.py
+
2
−
2
View file @
8ff41dd9
...
@@ -141,7 +141,7 @@ class ActionModule(ActionBase):
...
@@ -141,7 +141,7 @@ class ActionModule(ActionBase):
def
find_floating_ip
(
self
):
def
find_floating_ip
(
self
):
self
.
load_ips
()
self
.
load_ips
()
selected
=
self
.
args
.
get
(
'
ip
'
,
False
)
selected
=
self
.
_task
.
args
.
get
(
'
ip
'
,
False
)
ips
=
[]
ips
=
[]
for
block
in
self
.
ips
:
for
block
in
self
.
ips
:
for
ip
in
self
.
ips
[
block
]:
for
ip
in
self
.
ips
[
block
]:
...
@@ -193,7 +193,7 @@ class ActionModule(ActionBase):
...
@@ -193,7 +193,7 @@ class ActionModule(ActionBase):
def
move_ip
(
self
):
def
move_ip
(
self
):
display
.
vv
(
"
Moving IP ...
"
)
display
.
vv
(
"
Moving IP ...
"
)
target
=
self
.
args
.
get
(
'
target
'
,
False
)
target
=
self
.
_task
.
args
.
get
(
'
target
'
,
False
)
if
not
target
:
if
not
target
:
raise
ae
(
"'
target
'
is a required argument.
"
)
raise
ae
(
"'
target
'
is a required argument.
"
)
targethost
=
self
.
find_host
(
target
)
targethost
=
self
.
find_host
(
target
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment