You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
663 B

# tasks file for ansible-vaultwarden
- name: select specific Database tasks
include_tasks: "database_{{vaultwarden_db_type}}.yml"
- name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml"
- include_tasks: setup-Archlinux.yml
when: ansible_os_family == 'Archlinux'
- name: apply config file
dest: /etc/vaultwarden.env
src: vaultwarden.env.j2
notify: "restart vaultwarden"
- name: apply fail2ban jail
src: fail2ban/vaultwarden.local.j2
dest: /etc/fail2ban/jail.d/vaultwarden.local
- name: enable systemd services
name: "{{ vaultwarden_serviceName }}"
enabled: true