From bea0845322715737c0b6326db22e3d1812a5ac35 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 14 Aug 2014 10:27:45 -0500 Subject: [PATCH] Fix vault_password positional args error --- lib/ansible/inventory/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index 7cbba55aed..2ca8b54aff 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -142,11 +142,11 @@ class Inventory(object): # get group vars from group_vars/ files and vars plugins for group in self.groups: - group.vars = utils.combine_vars(group.vars, self.get_group_variables(group.name, self._vault_password)) + group.vars = utils.combine_vars(group.vars, self.get_group_variables(group.name, vault_password=self._vault_password)) # get host vars from host_vars/ files and vars plugins for host in self.get_hosts(): - host.vars = utils.combine_vars(host.vars, self.get_variables(host.name, self._vault_password)) + host.vars = utils.combine_vars(host.vars, self.get_variables(host.name, vault_password=self._vault_password)) def _match(self, str, pattern_str):