Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
serverdensity
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
serverdensity
Commits
af4c9ffc
Commit
af4c9ffc
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge pull request #4 from sfriedel/variable-templating
fixed variable templating/interpolation for host_vars
parents
969fb560
0ab4c9fd
Branches
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/serverdensity.py
+1
-1
1 addition, 1 deletion
action_plugins/serverdensity.py
with
1 addition
and
1 deletion
action_plugins/serverdensity.py
+
1
−
1
View file @
af4c9ffc
...
...
@@ -67,7 +67,7 @@ class ActionModule(object):
vv
(
'
Ensure hosts...
'
)
for
host
in
self
.
runner
.
host_set
:
vv
(
'
-
'
+
host
)
host_vars
=
self
.
runner
.
inventory
.
get_variables
(
host
)
host_vars
=
inject
[
'
hostvars
'
][
host
]
facts
=
host_vars
.
get
(
'
ansible_facts
'
,
{})
location
=
host_vars
.
get
(
'
location
'
)
if
not
location
:
...
...
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