how can i call DataLoader.set_vault_password in ansible 2.4.2

27 views
Skip to first unread message

tony...@jodoinc.com

unread,
Dec 6, 2017, 9:42:15 PM12/6/17
to Ansible Project


Hi guys

being a rookie of Ansible

I'm trying to call playbook from ansible api,using password, unfortunately find out that  DataLoader doesn't have `set_vault_password` any more


dataloader.py  


Usage:

   dl = DataLoader()
   # optionally: dl.set_vault_password('foo')
   ds = dl.load('...')
   ds = dl.load_from_file('/path/to/file')

'''


what should I do if I don't want to save my password in a vault-password-file?

Reply all
Reply to author
Forward
0 new messages