blob: 633537981e3b777a887ab4b82232b48d91ef274f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
tasks:
- name: Enviar secreto 'api_token' al host remoto
module: vault-remote
args:
action: push
key: api_token
remote_path: "/etc/shflow/vault"
become: true
- name: Recuperar secreto 'db_password' desde el host remoto
module: vault-remote
args:
action: pull
key: db_password
remote_path: "/etc/shflow/vault"
become: true
- name: Sincronizar todos los secretos locales al host remoto
module: vault-remote
args:
action: sync
remote_path: "/etc/shflow/vault"
become: true
|