summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/lookup/hiera.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/lookup/hiera.py')
-rw-r--r--lib/ansible/plugins/lookup/hiera.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/lookup/hiera.py b/lib/ansible/plugins/lookup/hiera.py
index 8de81b68da..5469c0cac9 100644
--- a/lib/ansible/plugins/lookup/hiera.py
+++ b/lib/ansible/plugins/lookup/hiera.py
@@ -72,7 +72,7 @@ class Hiera(object):
pargs.extend(hiera_key)
- rc, output, err = run_cmd("{} -c {} {}".format(
+ rc, output, err = run_cmd("{0} -c {1} {2}".format(
ANSIBLE_HIERA_BIN, ANSIBLE_HIERA_CFG, hiera_key[0]))
return output.strip()