From 2cf5267564a3fbac8cb912259785e5f223bbe6f5 Mon Sep 17 00:00:00 2001 From: staffadmin Date: Tue, 11 Nov 2025 19:51:23 +0100 Subject: [PATCH] [test last] --- backup.yml | 16 +++++++++++++--- collections/requirements.yml | 3 ++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/backup.yml b/backup.yml index 296f632..90e0112 100644 --- a/backup.yml +++ b/backup.yml @@ -28,9 +28,19 @@ ###! DOCKER COMPOSE FILE ############ -# - debug: -# msg: "{{ bw_client_id }}" -# # delegate_to: localhost +# apk add --no-cache rust +# pip install bitwarden-sdk + +# export BWS_ACCESS_TOKEN= +# database_password: "{{ lookup('bitwarden.secrets.lookup', '') }}" + +#! ants - gouv + - debug: + msg: "{{ lookup('bitwarden.secrets.lookup', 'cc0c7222-858d-44be-86ab-e0534b6f34a9') }}" + environment: + BW_CLIENTID: "{{ bw_client_id }}" + BWS_ACCESS_TOKEN: "{{ bw_client_secret }}" + BW_PASSWORD: "{{ bw_client_password }}" # #! fin test # - name: Check if bw is installed # command: which bw diff --git a/collections/requirements.yml b/collections/requirements.yml index 0289a77..adadbd9 100644 --- a/collections/requirements.yml +++ b/collections/requirements.yml @@ -6,7 +6,8 @@ collections: # # - name: community.grafana - name: community.docker #! bitwarden - - name: community.general + - name: bitwarden.secrets + # - name: community.general # # - name: geerlingguy.redis # # - name: git+https://github.com/netways/ansible-collection-elasticstack.git # # - name: elastic.elasticsearch