From 0436a69e3aeaed4a03cf15f00500807783f9d701 Mon Sep 17 00:00:00 2001
From: Vladimir Still <git@vstill.eu>
Date: Wed, 16 Nov 2022 09:14:58 +0100
Subject: [PATCH] ansible: p2022 deployment for eval-haskell

---
 ansible/eval-haskell.fi.muni.cz.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/ansible/eval-haskell.fi.muni.cz.yml b/ansible/eval-haskell.fi.muni.cz.yml
index a1bfd9f..c090b05 100644
--- a/ansible/eval-haskell.fi.muni.cz.yml
+++ b/ansible/eval-haskell.fi.muni.cz.yml
@@ -337,10 +337,19 @@
         become: True
         become_user: 'ib015_eval_{{item}}'
 #        when: not dot_cabal_ib015.results[item].stat.exists
+        when: false
         loop: '{{range(ib015_workers)}}'
 
+      - name: Create empty GHC env file
+        copy:
+          content: ""
+          dest: '/tmp/env.ib015.{{item}}'
+          owner: 'ib015_eval_{{item}}'
+        loop: '{{range(ib015_workers)}}'
+
+
       - name: Hackage modules
-        command: "{{cabal_dir}}/cabal v2-install --lib --package-env=/tmp/env.ib015.{{item}} QuickCheck lens HUnit graph-wrapper data-default-class"
+        command: "{{cabal_dir}}/cabal v2-install --lib --package-env=/tmp/env.ib015.{{item}} QuickCheck lens HUnit graph-wrapper data-default-class mtl exceptions-0.10.4"
         become: True
         become_user: 'ib015_eval_{{item}}'
         loop: '{{range(ib015_workers)}}'
-- 
GitLab