Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SUCS SUCS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sucs
  • SUCSSUCS
  • Issues
  • #45
Closed
Open
Created Dec 03, 2018 by Thomas Lake@tswsl1989🔧Maintainer

upgrade-mw playbook needs review

To get mw to build, I needed to change the destination argument in the git part of the playbook.

Part of me would rather that this destination being a generated temp directory rather than hardcoded, but no idea how to do that in ansible.

The install of the .deb files failed, with the script apparently looking for files with a literal * in the filename rather than globbing the directory to grab both packages.

I finished the install and restarted the server manually this time.

diff --git a/ansible/upgrade-mw.yml b/ansible/upgrade-mw.yml
index 2d058d2..c5325a3 100644
--- a/ansible/upgrade-mw.yml
+++ b/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
Assignee
Assign to
Time tracking