[SUCS Devel] [Git][sucs/sucs][master] Fix #45

Imran Hussain imranh at sucs.org
Mon Dec 3 15:37:00 GMT 2018


Imran Hussain pushed to branch master at sucs / SUCS


Commits:
6547b7ea by Imran Hussain at 2018-12-03T15:35:48Z
Fix #45

* make git checkout to the right place
* screw the apt module for shell that can use wildcards

- - - - -


1 changed file:

- ansible/upgrade-mw.yml


Changes:

=====================================
ansible/upgrade-mw.yml
=====================================
@@ -5,7 +5,7 @@
     - name: check out latest mw sourve
       git:
         repo: https://projects.sucs.org/arthur/mw.git
-        dest: /tmp/
+        dest: /tmp/mw
     - name: build the mw deb
       make:
         chdir: /tmp/mw
@@ -16,8 +16,7 @@
         state: stopped
       become: true
     - name: install the latest version of mw
-      apt:
-        deb: /tmp/mw/mw*.deb
+      shell: dpkg -i /tmp/mw/mw*.deb
       become: true
     - name: start mw server
       service:



View it on GitLab: https://projects.sucs.org/sucs/sucs/commit/6547b7eaebdb1da3a4e45d325402077fd1f5c5dd

-- 
View it on GitLab: https://projects.sucs.org/sucs/sucs/commit/6547b7eaebdb1da3a4e45d325402077fd1f5c5dd
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20181203/9b980a4c/attachment.html>


More information about the Devel mailing list