From ca540ef9f831e20bb1f9054fad889dd063954c23 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Sat, 21 Mar 2015 01:33:10 -0400 Subject: [PATCH] added vault password to dataloder creation --- v2/bin/ansible | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/v2/bin/ansible b/v2/bin/ansible index f8478b32c22..8eb5c97a6f5 100755 --- a/v2/bin/ansible +++ b/v2/bin/ansible @@ -91,9 +91,7 @@ class Cli(object): # read vault_pass from a file vault_pass = read_vault_file(options.vault_password_file) - - # FIXME: needs vault password - loader = DataLoader() + loader = DataLoader(vault_password=vault_pass) variable_manager = VariableManager() inventory = Inventory(loader=loader, variable_manager=variable_manager, host_list=options.inventory)