[Scan OK]
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
# export BWS_ACCESS_TOKEN=<ACCESS_TOKEN_VALUE>
|
# export BWS_ACCESS_TOKEN=<ACCESS_TOKEN_VALUE>
|
||||||
# database_password: "{{ lookup('bitwarden.secrets.lookup', '<SECRET_ID>') }}"
|
# database_password: "{{ lookup('bitwarden.secrets.lookup', '<SECRET_ID>') }}"
|
||||||
|
|
||||||
#! script
|
#! SECRETS
|
||||||
# - name: Install Bitwarden CLI
|
# - name: Install Bitwarden CLI
|
||||||
# ansible.builtin.command:
|
# ansible.builtin.command:
|
||||||
# cmd: "{{ item }}"
|
# cmd: "{{ item }}"
|
||||||
@@ -81,6 +81,8 @@
|
|||||||
no_log: true
|
no_log: true
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
|
#! SECRETS
|
||||||
|
|
||||||
- ansible.builtin.git:
|
- ansible.builtin.git:
|
||||||
repo: https://{{ user }}:{{ gitea_token }}@gitea.jingoh.fr/{{ user }}/backup.git
|
repo: https://{{ user }}:{{ gitea_token }}@gitea.jingoh.fr/{{ user }}/backup.git
|
||||||
dest: "{{ playbook_dir }}/backup"
|
dest: "{{ playbook_dir }}/backup"
|
||||||
|
|||||||
17
scan.yml
17
scan.yml
@@ -60,6 +60,16 @@
|
|||||||
tasks:
|
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:
|
- ansible.builtin.command:
|
||||||
cmd: bw logout
|
cmd: bw logout
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
@@ -106,6 +116,8 @@
|
|||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
become: false
|
become: false
|
||||||
|
|
||||||
|
#! SECRETS
|
||||||
|
|
||||||
# - ansible.builtin.apt:
|
# - ansible.builtin.apt:
|
||||||
# name: masscan
|
# name: masscan
|
||||||
# update_cache: true
|
# update_cache: true
|
||||||
@@ -251,3 +263,8 @@
|
|||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
become: false
|
become: false
|
||||||
|
|
||||||
|
- name: logout bw
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: bw logout
|
||||||
|
delegate_to: localhost
|
||||||
|
become: false
|
||||||
Reference in New Issue
Block a user