Browse Source

Add environment file and correct systemd service folder

stable
Dryusdan 1 year ago
parent
commit
e07b293a56
  1. 14
      tasks/main.yml

14
tasks/main.yml

@ -220,7 +220,7 @@
- name: Add service
ansible.builtin.template:
src: bitwarden.service.j2
dest: "/etc/{{ item.name }}_bitwarden.service"
dest: "/etc/systemd/system/{{ item.name }}_bitwarden.service"
owner: root
group: root
mode: '0644'
@ -228,6 +228,18 @@
tags:
- install
- name: Add configuration
ansible.builtin.template:
src: env.j2
dest: "/env/{{ item.name }}_bitwarden_rs.env"
owner: root
group: root
mode: '0644'
loop: "{{ bitwarden }}"
tags:
- install
- name: Reload systemd
ansible.builtin.systemd:
daemon_reload: yes

Loading…
Cancel
Save