mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2021-12-25 20:02
This commit is contained in:
@@ -84,3 +84,14 @@
|
||||
- pre
|
||||
- post
|
||||
tags: bookstack
|
||||
|
||||
- name: Install queue worker unit
|
||||
template: src=bookstack-queue.service.j2 dest=/etc/systemd/system/bookstack_{{ bookstack_id }}-queue.service
|
||||
register: bookstack_unit
|
||||
notify: restart bookstack-queue
|
||||
tags: bookstack
|
||||
|
||||
- name: Reload systemd
|
||||
systemd: daemon_reload=True
|
||||
when: bookstack_unit.changed
|
||||
tags: bookstack
|
||||
|
@@ -7,6 +7,7 @@
|
||||
when: bookstack_install_mode == 'upgrade'
|
||||
- include: install.yml
|
||||
- include: conf.yml
|
||||
- include: services.yml
|
||||
- include: write_version.yml
|
||||
- include: archive_post.yml
|
||||
when: bookstack_install_mode == 'upgrade'
|
||||
|
5
roles/bookstack/tasks/services.yml
Normal file
5
roles/bookstack/tasks/services.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Start and enable services
|
||||
service: name=bookstack_{{ bookstack_id }}-queue state=started enabled=True
|
||||
tags: bookstack
|
Reference in New Issue
Block a user