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
- Adapt
files/certs/passbolt_server/gen_root_cert.shandfiles/certs/passbolt_server/gen_server_cert.shto generate certificates that fit your organisation. (Tip: search for[email protected]) - Adapt
files/certs/passbolt_server/recreate_server_certs.shand replace the placeholders accordingly - Adapt
inventories/passbolt/group_vars/all/all_config.ymlaccording to the comments in the file. - Adapt your Ansible inventory to point to the correct IP in
inventories/passbolt/hosts.yml. - Run
ansible-playbook -i inventories/passbolt_sever/hosts.yml full_setup.yml. - Connect to the passbolt shell with
bash passbolt_shell.sh <your-server-ip> - Run
su -c "./bin/cake passbolt register_user -u [email protected] -f Admin -l Adminson -r admin" -s /bin/bash www-data - Complete the Passbolt setup in your browser.
(Manual backups)
- Run
bash manual_backup.sh <your-ip>
and/or
- Export all passwords in the Passbolt UI
