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