Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
float
Commits
fbe9f4db
Commit
fbe9f4db
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Fix error
parent
266abd6e
No related branches found
No related tags found
1 merge request
!249
Support IPv6-only networks
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/inventory/float.py
+1
-1
1 addition, 1 deletion
plugins/inventory/float.py
with
1 addition
and
1 deletion
plugins/inventory/float.py
+
1
−
1
View file @
fbe9f4db
...
...
@@ -558,7 +558,7 @@ def _any_attribute_set(services, attr):
# Pre-process inventory entries, to normalize host variables and
# provide defaults (thus simplifying the jinja template logic).
def
_preprocess_inventory
(
inventory
):
for
host
in
inventory
[
'
hosts
'
]:
for
host
in
inventory
[
'
hosts
'
]
.
values
()
:
# Set 'ips' if the legacy variables are set.
if
'
ips
'
not
in
host
:
host
[
'
ips
'
]
=
[]
...
...
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