Is this possible? Lookups will work on an un-encrytped file but the following example on a vaulted file:
root_passwd_hash: "{{ lookup('csvfile', 'root file=vault/pw_hash.csv' ) }}" Gives me: <propval type="astring" name="password" value="[]"/> Perhaps I'm going about this the wrong way? I'm using this in a jinja template which has the following line: <propval type="astring" name="password" value="{{ sol_ai_profile_user.root_passwd_hash | mandatory }}"/> It makes no difference if I provide the vault password on the command line, in a file, or not bother at all. The play still runs but the var never gets the lookup goodies. Master: ansible 2.1.1.0 jinja 2.8 Centos 7.2.1511 Python 2.7.5 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c8bbc869-466e-44da-9334-a207f5294b5c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.