{"id":43876727,"url":"https://github.com/solairen/passbolt","last_synced_at":"2026-02-06T14:45:10.669Z","repository":{"id":39639102,"uuid":"365829592","full_name":"solairen/passbolt","owner":"solairen","description":"Install passbolt on Ubuntu using Ansible","archived":false,"fork":false,"pushed_at":"2025-12-11T09:54:47.000Z","size":102,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-12T09:49:14.642Z","etag":null,"topics":["ansible","passbolt"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solairen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://www.paypal.com/paypalme/solairen32"}},"created_at":"2021-05-09T19:14:43.000Z","updated_at":"2025-12-11T09:54:50.000Z","dependencies_parsed_at":"2024-06-06T17:17:00.192Z","dependency_job_id":"370453b6-d97a-44c8-9548-9cb9ab9e9af5","html_url":"https://github.com/solairen/passbolt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solairen/passbolt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solairen%2Fpassbolt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solairen%2Fpassbolt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solairen%2Fpassbolt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solairen%2Fpassbolt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solairen","download_url":"https://codeload.github.com/solairen/passbolt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solairen%2Fpassbolt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29165089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","passbolt"],"created_at":"2026-02-06T14:45:10.546Z","updated_at":"2026-02-06T14:45:10.640Z","avatar_url":"https://github.com/solairen.png","language":"Dockerfile","funding_links":["https://www.paypal.com/paypalme/solairen32"],"categories":[],"sub_categories":[],"readme":"### About:\nThis ansible script installs [Passbolt](https://www.passbolt.com/) and [MariaDB](https://mariadb.org/) container on Ubuntu.\u003cbr/\u003e\n\n### Supported OS:\n* Ubuntu 20.04 LTS\n* Ubuntu 22.04 LTS\n\n### Prerequisites\n* [Ansible](https://docs.ansible.com/ansible/latest/index.html)\n* [jmespath plugin](https://pypi.org/project/jmespath/)\n* [Azure blob](https://docs.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest#az_storage_blob_upload)\n* [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/)\n* [AWS S3](https://aws.amazon.com/s3/)\n* [Linode Object Storage](https://www.linode.com/docs/guides/platform/object-storage/)\n* [s3cmd](https://www.linode.com/docs/guides/how-to-use-object-storage/#s3cmd)\n* [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html)\n* [community.docker](https://galaxy.ansible.com/community/docker)\n\n### Configuration\n\n#### Azure Blob Storage\n[Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) should be installed on the host where Passbolt and MariaDB is installed and Azure Blob Storage should be created on Azure.\n\nIt is a possibility to upload backup to all cloud providers at one time, to do that those programs: **azure CLI**, **s3cmd**, **boto3** must be installed on the host where Passbolt and MariaDB is installed.\n\n\u003e **_NOTE:_** S3CMD and boto3 are installed during installation process.\n\n#### Firewall\nOn host where Passbolt and MariaDB will be installed, ssh port should be enabled.\n\n#### Inventory.ini\nIn `inventory.ini`, set **IP**, **user**, **password**, **ssh port** or **ssh_key** on where Passbolt and MariaDB should be installed.\u003c/br\u003e\nIf **ssh_key** is used, comment **password**.\u003c/br\u003e\nIf **password** is used, comment **ssh_key**.\u003c/br\u003e\n```ini\n[passbolt]\n127.0.0.1\n\n[mariadb]\n127.0.0.1\n\n[all:vars]\nansible_ssh_user=username\nansible_ssh_private_key_file=/root/.ssh/id_ed25519\nansible_port=22\n```\n\n#### Inputs.yml\nIn `inputs.yml`, set:\n```yml\n---\n# Select deployment type: greenfield / brownfied.\ndeployment: greenfield\n\n# Select if Passbolt and MariaDB are installed on one host or seperate.\naio: 0\n```\n\n#### Group_vars/all/common\nIn `group_vars/all/common`, set:\n\n```txt\n_time_zone: Europe/Warsaw           =\u003e Set Time Zone.\n_mariadb: 1                         =\u003e Install MariaDB.\n_passbolt: 1                        =\u003e Install Passbolt.\n_zip_password: {password}           =\u003e Set password for .zip files.\n_docker_compose_version: 1.29.2     =\u003e Install docker-compose.\n_restore_from_backup:               =\u003e Restore Passbolt and MariaDB from backup during greenfield installation.\n   azure: 0                         =\u003e Restore from Azure. 1 - yes, 0 - no.\n   linode: 0                        =\u003e Restore from Linode. 1 - yes, 0 - no.\n   aws: 0                           =\u003e Restore from AWS. 1 - yes, 0 - no.\n_azure_upload: 0                    =\u003e Upload to Azure Blob Storage. 1 - yes, 0 - no.\n_container_name: {containerName}    =\u003e Set Azure Blob Storage container name.\n_account_name: {accountName}        =\u003e Set Azure Blob Storage account name.\n_account_key: {accountKey}          =\u003e Set Azure Blob Storage account key.\n_linode_upload: 0                   =\u003e Upload to Linode Ojbect Storage. 1 - yes, 0 - no.\n_linode_bucket: {bucketName}        =\u003e Linode Object Storage name.\n_linode_access_key: {accessKey}     =\u003e Linode Object Storage access key.\n_linode_secret_key: {secretKey}     =\u003e Linode Object Storage secret key.\n_host: {regionName}                 =\u003e Linode Object Storage region.\n_aws_upload: 0                      =\u003e Upload to AWS S3. 1 - yes, 0 - no.\n_aws_bucket: {bucketName}           =\u003e AWS S3 Bucket name.\n_aws_access_key: {accessKey}        =\u003e AWS access key.\n_aws_secret_key: {secretKey}        =\u003e AWS secret key.\n```\n\n#### Restore from backup\nTo restore from backup, set 1 in variable `azure`, `linode` or `aws` to choose from where the backup should be downloaded.\u003c/br\u003e\nIf `azure` is set, enter proper values to the `_container_name`, `_account_name` and `_account_key`.\u003c/br\u003e\nIf `linode` is set, enter proper values to the `_linode_bucket`.\u003c/br\u003e\nIf `aws` is set, enter proper values to the `_aws_bucket`, `_aws_access_key` and `_aws_secret_key`.\u003c/br\u003e\nSetting 1 into variables: `azure`, `linode` and `aws` at the same time will fail the process of installation.\n\n#### Group_vars/all/mariadb\nIn `group_vars/all/mariadb`, set:\n\n```txt\n_mariadb_net: mariadb_network             =\u003e Set MariaDB docker network.\n_mariadb_name: mariadb                    =\u003e Set MariaDB container and host name.\n_mariadb_version: 10.7.1                  =\u003e Set MariaDB version.\n_mariadb_restore_version: 10.6.5          =\u003e Restore MariaDB to given version when brownfield failed.\n_mariadb_root_password: {root_password}   =\u003e Set MariaDB root password.\n_mariadb_password: {password}             =\u003e Set MariaDB user password.\n_mariadb_username: passbolt               =\u003e Set MariaDB user name.\n_mariadb_database: passbolt               =\u003e Set MariaDB database.\n_mariadb_port: 3306                       =\u003e MariaDB port.\n```\n\n#### Group_vars/all/passbolt\nIn `group_vars/all/passbolt`, set:\n\n```txt\n_passbolt_net: passbolt_network                             =\u003e Set Passbolt docker network.\n_passbolt_name: passbolt                                    =\u003e Set Passbolt container and host name.\n_passbolt_version: 3.3.1-ce                                 =\u003e Set Passbolt version.\n_passbolt_restore_version: 3.2.1-2-ce                       =\u003e Restore Passbolt to given version when brownfield faild.\n_app_full_base_url: https://127.0.0.1                       =\u003e Passbolt base url.\n_email_default_from: somemail@outlook.com                   =\u003e From email address.\n_email_transport_default_host: smtp.office365.com           =\u003e Server hostname.\n_email_transport_default_port: \"587\"                        =\u003e Server port.\n_email_transport_default_tls: \"true\"                        =\u003e Set tls.\n_email_transport_default_username: somemail@outlook.com     =\u003e Username for email server auth.\n_email_transport_default_password: {password}               =\u003e Password for email server auth.\n_passbolt_key_name: www-data                                =\u003e Key owner name\n_passbolt_key_email: somemail@outlook.com                   =\u003e Ke owner email address.\n```\n\nMore environment variables can be found [here](https://help.passbolt.com/configure/environment/reference.html)\n\n\u003e **_NOTE:_** _mariadb_root_password, _mariadb_password, _mariadb_username, _mariadb_database and _mariadb_port should be set in brownfield deployment!\n\n### How to run:\n\n```bash\nansible-playbook -i inventory.ini install.yml -e \"@inputs.yml\" --ask-become-pass -vv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolairen%2Fpassbolt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolairen%2Fpassbolt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolairen%2Fpassbolt/lists"}