Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

neuroforgede/passbolt_ansible

Repository files navigation

passbolt_ansible

A complete (set of) playbook(s) to selfhost passbolt.

HOW-TO:

German: https://neuroforge.de/passbolt-ein-open-source-passwort-manager/

Short (english) HOW-TO:

Preparations

sudo apt install python3
sudo apt install python3-pip
pip3 install ansible==2.7.10
ansible-galaxy install geerlingguy.docker,v2.5.1 geerlingguy.mysql,v2.9.4 

Step by Step

  1. Adapt files/certs/passbolt_server/gen_root_cert.sh and files/certs/passbolt_server/gen_server_cert.sh to generate certificates that fit your organisation. (Tip: search for [email protected])
  2. Adapt files/certs/passbolt_server/recreate_server_certs.sh and replace the placeholders accordingly
  3. Adapt inventories/passbolt/group_vars/all/all_config.yml according to the comments in the file.
  4. Adapt your Ansible inventory to point to the correct IP in inventories/passbolt/hosts.yml.
  5. Run ansible-playbook -i inventories/passbolt_sever/hosts.yml full_setup.yml.
  6. Connect to the passbolt shell with bash passbolt_shell.sh <your-server-ip>
  7. Run su -c "./bin/cake passbolt register_user -u [email protected] -f Admin -l Adminson -r admin" -s /bin/bash www-data
  8. Complete the Passbolt setup in your browser.

(Manual backups)

  1. Run bash manual_backup.sh <your-ip>

and/or

  1. Export all passwords in the Passbolt UI