Giter VIP home page Giter VIP logo

ansible-passbolt's Introduction

ansible-passbolt

Ansible role to install and setup passbolt as Docker container managed by systemd.

System requirements

  • Systemd
  • Docker
  • docker-compose

Role requirements

  • python-docker package

What this role does

  • Create volumes
  • Generate database setups
  • Setup docker-compose file
  • Pull Docker images:
  • Setup systemd service

Role parameters

Variable Type Mandatory? Default Description
http_port port number no 80 Listen web port
https_port port number no 443 Listen ssl port
interface network address no 0.0.0.0 Mapped network published ports
secret_size number no 16 Size of the generated database passwords
full_base_path url yes Passbolt's APP_FULL_BASE_URL: Passbolt base url
passbolt_volume absolute path yes Directory where the persistent data will be stored
image_version text no latest Used Passbolt docker image version
db_image_version text no latest Used MariaDB docker image version
passbold_key_length number no 2048 Size of the generated keys
passbold_subkey_length number no 2048 Size of the generated subkeys
passbold_key_name text no Used name of the generated key
passbold_key_email email no Used email of the generated keys
email_from email no Used email for sent emails
email_host hostname no Used SMTP host for sending mails
email_port port number no Used SMTP port for sending mails
email_username text no Used username for sending mails
email_password text no Used password for sending mails
email_tls boolean no no Using TLS for sending mails?
public_registration boolean no no Enable public registration for this server

Usage

Add to requirements.yml

- name: install-passbolt
  src: https://github.com/borisskert/ansible-passbolt.git
  scm: git

Minimal playbook.yml

- hosts: test_machine
  become: yes

  roles:
    - role: install-passbolt
      passbolt_volume: /srv/passbolt
      full_base_path: http://192.168.33.83:80

Typical playbook.yml

- hosts: test_machine
  become: yes

  roles:
    - role: install-passbolt
      image_version: 2.12.1-debian
      db_image_version: 10.4
      http_port: 10080
      https_port: 10443
      interface: 0.0.0.0
      passbolt_volume: /srv/passbolt
      secret_size: 32
      full_base_path: http://192.168.33.83:10080
      passbold_key_length: 4096
      passbold_subkey_length: 4096
      passbold_key_name: my key name
      passbold_key_email: [email protected]
      email_from: [email protected]
      email_host: smtp.fakemail.com
      email_port: 587
      email_username: fakeuser
      email_password: fakepass
      email_tls: yes
      public_registration: yes

Further links

License

The MIT License (MIT)

ansible-passbolt's People

Contributors

borisskert avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.