27 lines
476 B
YAML
27 lines
476 B
YAML
---
|
|
|
|
- name: Vikunja | Install package
|
|
package:
|
|
name:
|
|
- vikunja-api-bin
|
|
- vikunja-frontend
|
|
state: present
|
|
|
|
- name: Vikunja | Deploy config
|
|
template:
|
|
src: config.yml.j2
|
|
dest: /etc/vikunja/config.yml
|
|
mode: 0660
|
|
owner: root
|
|
group: vikunja
|
|
notify: Vikunja | Restart
|
|
|
|
- name: Vikunja | Run handlers
|
|
meta: flush_handlers
|
|
|
|
- name: Vikunja | Enable and start service
|
|
service:
|
|
name: vikunja-api
|
|
state: started
|
|
enabled: yes
|