Commits

Anonymous committed d55f893

Added plays for installing Colibri on maint server

Comments (0)

Files changed (1)

playbooks/maint-server.yml

   tasks:
     - include: java.yml
     - include: maven.yml
+
+    - name: Colibri | Clone/Update Colibri Repository
+      action: mercurial owner=root repo=http://172.16.0.1:8000/colibri dest=/usr/src/colibri
+      register: repo
+
+    - name: Colibri | Build  Colibri (only if the repo has changed)
+      action: command /usr/bin/mvn install chdir=/usr/src/colibri
+      only_if: ${repo.changed}