JBAS-1839 Ansible skip angular on sips/utils
authorBill Erickson <berickxx@gmail.com>
Wed, 17 Oct 2018 15:30:33 +0000 (11:30 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Avoid building AngJS and Ang targets on sips / utils

Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/admin-scripts/ansible/plays/deploy.yml

index 0907b2d..ace7e3a 100644 (file)
     shell: >
       cd {{repo_base}}/Evergreen/Open-ILS/web/js/ui/default/staff 
       && npm run build-prod
+    when:
+      - "'bricks' in group_names"
   - name: Angular build
     become: true
     become_user: '{{opensrf_user}}'
     shell: >
       cd {{repo_base}}/Evergreen/Open-ILS/src/eg2
       && ng build --prod
+    when:
+      - "'bricks' in group_names"
   - name: Install Evergreen
     become: true
     environment: