Giter Club home page Giter Club logo

vaultwarden-ansible's Introduction

Vaultwarden Ansible

Articles

Install guide Migration

Ansible deployement for vaultwarden rs on raspberry pi

Required

  • Ansible 2.9.7 or update
  • Domain or sub-domain acces (DNS)
  • PORTS 80 & 443 not used

Before the playbook execution

SSH key

For ansible you need to give to your raspberry pi your ssh key, the easy way is

ssh-copy-id pi@RASP_LOCAL_IP

after that, you can quit your rasp and try to connect to if he doesn't request a password, this part is ready

host

Open the file named 'host' and edit the line where '<---' is

all:
    vars:
        ansible_python_interpreter: /usr/bin/python3
    hosts:
        node1:
            ansible_host: RASP_LOCAL_IP <---
            ansible_user: pi
    children:
        base:
            hosts:
                node1
        bitwarden:
            hosts:
                node1

docker-compose

Open the file named '.env' and edit the line where '<---' is

You have to edit for bitwarden

#Vaultwarden
WEBSOCKET_ENABLED=true
SIGNUPS_ALLOWED=true
ADMIN_TOKEN=DEFINE-YOUR-PERSONNAL-ADMIN-TOKEN <---
DOMAIN_HTTPS=https://YOUR-DOMAIN-OR-SUB-DOMAIN <---

#caddy
ACME_AGREE=true
DOMAIN=YOUR-DOMAIN-OR-SUB-DOMAIN <---
EMAIL=YOUR-EMAIL-FOR-KNOW-WHEN-SSL-IS-RELOAD <---

Deployment playbook to your raspberry pi

ansible-playbook -i host playbook.yaml

vaultwarden-ansible's People

Contributors

martient avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vaultwarden-ansible's Issues

Update ReadME

Add some documentation and link to my medium articles

error when installing the playbook

pi@raspberrypi:~/vaultwarden-ansible $ ansible-playbook -i host playbook.yaml
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/pi/vaultwarden-ansible/roles/setup/tasks/main.yaml': line 30, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: "Prune everything"
  ^ here

I made sure ansible and docker was installed correctly and I restarted my pi multiple times but I can't figure out why I'm getting this weird issue.

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.