Skip to content

Instantly share code, notes, and snippets.

@virtualhobbit
Last active February 8, 2021 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virtualhobbit/85f99f625e517da76b0fd2cc1df49c3c to your computer and use it in GitHub Desktop.
Save virtualhobbit/85f99f625e517da76b0fd2cc1df49c3c to your computer and use it in GitHub Desktop.
---
ansible_become_password: "{{ lookup('hashi_vault', 'secret=credentials/computers/production/{{ inventory_hostname }}:Password')}}"
ansible_become_method: su
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment