Add a role to install Trollibox

This commit is contained in:
polyfloyd 2021-10-02 16:31:21 +02:00
parent 1c9a0b37d3
commit f24e8b6436
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
- name: reload nginx
systemd:
name: nginx
state: reloaded
- name: rebuild trollibox
command: ./build.sh
args:
chdir: /opt/trollibox
environment: { RELEASE: 1 }
- name: restart trollibox
systemd:
name: trollibox
state: restarted
daemon_reload: true