diff --git a/backup.yml b/backup.yml index 26c3a05..dfe6173 100644 --- a/backup.yml +++ b/backup.yml @@ -34,7 +34,7 @@ #! fin test - - name: Obtenir le session token + - name: bitwarden token session ansible.builtin.command: cmd: "{{ item }}" environment: @@ -57,6 +57,10 @@ environment: BW_SESSION: "{{ bw_session_result.results[-1].stdout }}" + - name: logout + ansible.builtin.command: + cmd: bw logout + # - name: Return all secrets from a path # delegate_to: localhost # ansible.builtin.debug: diff --git a/collections/requirements.yml b/collections/requirements.yml index 9ca5bb6..9197c52 100644 --- a/collections/requirements.yml +++ b/collections/requirements.yml @@ -5,6 +5,7 @@ collections: # - name: ansible.utils # # - name: community.grafana - name: community.docker + - name: community.general.bitwarden # # - name: geerlingguy.redis # # - name: git+https://github.com/netways/ansible-collection-elasticstack.git # # - name: elastic.elasticsearch