From 533e79ba959143f0459431a486bfb85c56c72ddc Mon Sep 17 00:00:00 2001 From: luisgulo Date: Fri, 24 Oct 2025 18:01:10 +0200 Subject: Releasing code version 1.8.0 --- examples/vault-sync.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/vault-sync.yaml (limited to 'examples/vault-sync.yaml') diff --git a/examples/vault-sync.yaml b/examples/vault-sync.yaml new file mode 100644 index 0000000..6335379 --- /dev/null +++ b/examples/vault-sync.yaml @@ -0,0 +1,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 -- cgit v1.2.3