mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
13 lines
437 B
YAML
13 lines
437 B
YAML
- name: Set banner
|
|
become: "{{ false if inventory_hostname == 'nas.home.lan' else true }}"
|
|
block:
|
|
- name: Read the latest version of a kv2 secret from Vault via the remote host with userpass auth
|
|
community.hashi_vault.vault_kv2_get:
|
|
url: http://vault.home.lan:8205
|
|
path: gitlab
|
|
auth_method: token
|
|
register: response
|
|
|
|
- name: Show password
|
|
ansible.builtin.debug:
|
|
var: response |