hashi vault lookups
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
# code: language=ansible
|
||||
|
||||
# Connection (SSH)
|
||||
|
||||
ansible_connection: ansible.builtin.ssh
|
||||
ansible_ssh_host: dev.balsillie.house
|
||||
ansible_ssh_port: 22
|
||||
ansible_ssh_host_key_checking: false
|
||||
ansible_ssh_pipelining: false
|
||||
ansible_ssh_user: ladmin
|
||||
ansible_ssh_private_key_file: ~/.ssh/conf.d/home/dev.balsillie.house.key
|
||||
|
||||
# Become (sudo)
|
||||
|
||||
ansible_become_method: ansible.builtin.sudo
|
||||
ansible_become_user: root
|
||||
ansible_become_password: "{{ lookup('community.hashi_vault.vault_kv1_get', 'ansible/host_vars/dev.balsillie.house/ansible_connection').secret.ansible_become_password }}" # noqa yaml[line-length]
|
Reference in New Issue
Block a user