Skip to content
Snippets Groups Projects

update alumnigraphi system

Merged Hinrikus Wolf requested to merge update-alumnigraph into master
All threads resolved!
4 files
+ 35
0
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -19,6 +19,23 @@
@@ -19,6 +19,23 @@
notify:
notify:
- "restart uwsgi instance {{app.instance}}"
- "restart uwsgi instance {{app.instance}}"
 
- name: ensure the celery unit file exists
 
template:
 
src: apps/alumnigraph-celery.service.j2
 
dest: "/etc/systemd/system/{{ app_name }}-celery.service"
 
owner: root
 
group: root
 
mode: '0644'
 
notify:
 
- reload systemd service files
 
- "restart uwsgi instance {{app.instance}}"
 
 
- name: ensure the celery service is enabled
 
service:
 
name: "{{app_name}}-celery"
 
enabled: true
 
state: started
 
- name: ensure the folder from above is not present anymore
- name: ensure the folder from above is not present anymore
file:
file:
path: "{{app_path}}/.ansible"
path: "{{app_path}}/.ansible"
Loading