Thx Brian.  I deleted my original post (didn't see a response to it yet, so 
you probably were responding when I deleted it) due to semi-sensitive 
information.  I will post my general question below for context for people 
reading this in the future:

Can I utilize the encrypt_string output in my inventory file (tried 
multiple ways but couldn't get it to work):

Sample inventory file:
[win]
ansible-win.mydomain.com
[win:vars]
ansible_connection=winrm
ansible_user=ansible
ansible_password="!vault |
          $ANSIBLE_VAULT;1.1;AES256
          
37323038653234633237633336613932313930613332333063356662356636326130626236366536
          
6138643739653436613930366165393161613932353865660a333939333666353435653433626536
          
36303430386438616234386639386439343433363962363563636436643562613339626536396332
          
6364393263646539650a656334373662343438336663666535343130336235616363343332356232
          3238"



On Wednesday, April 4, 2018 at 3:23:49 PM UTC-6, Brian Coca wrote:
>
> It will never work in ini file, you can encrypt the whole inventory 
> though (yaml or ini). 
>
> As for the single var, it 'should' work in a YAML inventory, but i 
> don't think we had it as a specific feature. 
>
>
>
> -- 
> ---------- 
> Brian Coca 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/db9a3a98-36ec-4694-9ecb-a5c2448c62f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to