[Scan OK]

This commit is contained in:
2025-11-11 21:53:55 +01:00
parent 895d3b544b
commit a2c70e9e6e
2 changed files with 20 additions and 1 deletions

View File

@@ -30,7 +30,7 @@
# export BWS_ACCESS_TOKEN=<ACCESS_TOKEN_VALUE>
# database_password: "{{ lookup('bitwarden.secrets.lookup', '<SECRET_ID>') }}"
#! script
#! SECRETS
# - name: Install Bitwarden CLI
# ansible.builtin.command:
# cmd: "{{ item }}"
@@ -81,6 +81,8 @@
no_log: true
delegate_to: localhost
#! SECRETS
- ansible.builtin.git:
repo: https://{{ user }}:{{ gitea_token }}@gitea.jingoh.fr/{{ user }}/backup.git
dest: "{{ playbook_dir }}/backup"

View File

@@ -60,6 +60,16 @@
tasks:
#! SECRETS
# - name: Install Bitwarden CLI
# ansible.builtin.command:
# cmd: "{{ item }}"
# delegate_to: localhost
# loop:
# - apk add --no-cache nodejs npm
# - npm install -g @bitwarden/cli
- ansible.builtin.command:
cmd: bw logout
delegate_to: localhost
@@ -106,6 +116,8 @@
delegate_to: localhost
become: false
#! SECRETS
# - ansible.builtin.apt:
# name: masscan
# update_cache: true
@@ -251,3 +263,8 @@
delegate_to: localhost
become: false
- name: logout bw
ansible.builtin.command:
cmd: bw logout
delegate_to: localhost
become: false