Skip to content

Commit

Permalink
Remove the uwsgi role, add a cleanup role.
Browse files Browse the repository at this point in the history
uwsgi is now completely handled by the ideascube packae postinstall
script. Let's remove the uwsgi role completely.

Add a cleanup role that will remove the files installed by the uwsgi role.
This role will be used as a rolling release role, cleaning up the stuff
we left behind us after such changes.

Fixes #25.
  • Loading branch information
letompouce committed May 28, 2016
1 parent 0deacc7 commit 2477e2a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 40 deletions.
11 changes: 11 additions & 0 deletions roles/cleanup/tasks/uwsgi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

- name: Remove uwsgi installed using pip (bug #17)
pip: name=uwsgi state=absent
tags:
- cleanup

- name: Remove the old service file
file: path=/etc/systemd/system/uwsgi.service state=absent
tags:
- cleanup
16 changes: 0 additions & 16 deletions roles/uwsgi/files/uwsgi.service

This file was deleted.

3 changes: 0 additions & 3 deletions roles/uwsgi/handlers/main.yml

This file was deleted.

21 changes: 0 additions & 21 deletions roles/uwsgi/tasks/main.yml

This file was deleted.

0 comments on commit 2477e2a

Please sign in to comment.