Skip to content
Snippets Groups Projects
Commit e9a926ef authored by jurgenhaas's avatar jurgenhaas
Browse files

Restart after changes

parent de59d155
No related branches found
No related tags found
No related merge requests found
---
# file: roles/uptime/handlers/main.yml
- name: "Restart Uptime"
service:
name='uptime'
state='restarted'
......@@ -30,10 +30,14 @@
git:
repo='https://gitlab.paragon-es.de/tools/uptime.git'
dest='/var/www/uptime'
notify:
- "Restart Uptime"
- name: "Install node components"
npm:
path='/var/www/uptime'
notify:
- "Restart Uptime"
- name: "Configure uptime"
template:
......@@ -42,6 +46,8 @@
owner=root
group=root
mode=644
notify:
- "Restart Uptime"
# Config Uptime
# edit config/default.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment