[SUCS Devel] [Git][sucs/sucs][master] 2 commits: correct mw service name

Imran Hussain imranh at sucs.org
Thu Jan 12 15:35:58 GMT 2017


Imran Hussain pushed to branch master at sucs / SUCS


Commits:
6df09bd4 by Imran Hussain at 2017-01-12T15:38:04+00:00
correct mw service name

- - - - -
55c4caf0 by Imran Hussain at 2017-01-12T15:38:17+00:00
explictily install mw build deps

- - - - -


2 changed files:

- ansible/roles/mw/handlers/main.yml
- ansible/roles/mw/tasks/main.yml


Changes:

=====================================
ansible/roles/mw/handlers/main.yml
=====================================
--- a/ansible/roles/mw/handlers/main.yml
+++ b/ansible/roles/mw/handlers/main.yml
@@ -6,16 +6,16 @@
 
 - name: stop mw
   service:
-    name: mwserv
+    name: mw3
     state: stopped
   notify: install mw
   
 - name: install mw
   apt:
     deb: /opt/mw/mw*.deb
-  notify: start mwserv
+  notify: start mw
 
-- name: start mwserv
+- name: start mw
   service:
-    name: mwserv
+    name: mw3
     state: started
\ No newline at end of file


=====================================
ansible/roles/mw/tasks/main.yml
=====================================
--- a/ansible/roles/mw/tasks/main.yml
+++ b/ansible/roles/mw/tasks/main.yml
@@ -1,3 +1,18 @@
+- name: install stuff we need to build and run mw
+  package:
+    name: "{{ item }}"
+    state: latest
+  with_items:
+    - debhelper
+    - libreadline-dev
+    - libcurl-dev
+    - libsqlite3-dev
+    - libjansson-dev
+    - libncurses5-dev
+    - libssl-dev
+    - libpq-dev
+    - dh-systemd
+
 - name: check out latest mw sourve
   git:
     repo: https://projects.sucs.org/arthur/mw.git



View it on GitLab: https://projects.sucs.org/sucs/sucs/compare/744e8e9ecafed130dec8b8db9fd7ccb5dae93ad2...55c4caf01f6e1491f56fed1150c1b8c1938e0221
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20170112/61aae5f5/attachment-0001.html>


More information about the Devel mailing list