diff --git a/CICD/heat/gc_HOT.yaml b/CICD/heat/gc_HOT.yaml
index a91acf8657cef532bb6806cef3399f6d8f352e0b..7b44445e1831e0766a21dda38da6c7ea4093ad1c 100644
--- a/CICD/heat/gc_HOT.yaml
+++ b/CICD/heat/gc_HOT.yaml
@@ -260,7 +260,7 @@ resources:
   ComputeNodeRHEL:
    type: "OS::Heat::ResourceGroup"
    properties:
-    count: 1
+    count: 0
     resource_def:
      type: "OS::Nova::Server"
      properties:
diff --git a/CICD/plays/computenodes.yml b/CICD/plays/computenodes.yml
index a43a5a927506f800d0f8d5a1eb3da208d404f4b5..fa6a749c96c8341915132e8cd577ba780abc5f5e 100644
--- a/CICD/plays/computenodes.yml
+++ b/CICD/plays/computenodes.yml
@@ -25,7 +25,7 @@
   - { role: nfs-client, nfsMounts: "{{ computeNfsMounts }}", tags: [ filesystems ] }
   - { role: slurm-common, tags: [ slurm, slurm-common ] }
   - { role: lmod, tags: [ other ] }
-  - { role: enable_modules, default_modules: "lmod", tags: [ other ] }
+  - { role: enable_modules, default_modules: "modulecmd", tags: [ other ] }
   - { role: postfix, tags: [ mail, other ] }
 
 - hosts: 'VisNodes'
diff --git a/CICD/tests/ComputeNodes/modules.sh b/CICD/tests/ComputeNodes/modules.sh
new file mode 100755
index 0000000000000000000000000000000000000000..4b1c6121afd2949f702bcc55d22ac47e2a2c117f
--- /dev/null
+++ b/CICD/tests/ComputeNodes/modules.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+module purge
+module load gcc/8.1.0
+module list
+gcc --version | grep 8.1.0
+
diff --git a/CICD/tests/LoginNodes/modules.sh b/CICD/tests/LoginNodes/modules.sh
new file mode 120000
index 0000000000000000000000000000000000000000..b6a31cd98f0cc6fd46b5838b7fb27cf17fb86650
--- /dev/null
+++ b/CICD/tests/LoginNodes/modules.sh
@@ -0,0 +1 @@
+../ComputeNodes/modules.sh
\ No newline at end of file
diff --git a/roles/enable_modules/tasks/main.yml b/roles/enable_modules/tasks/main.yml
index 77e5c1fc305dffe2dc191f8100da6186be22777a..f9c99893d772987a4c24b584ddc593eb0e183cbf 100644
--- a/roles/enable_modules/tasks/main.yml
+++ b/roles/enable_modules/tasks/main.yml
@@ -1,7 +1,13 @@
 ---
 
+- name: make sure environment modules are installed
+  package:
+    name: environment-modules
+    state: installed
+  become: true
+
 - name: template lmod bash
-  template: src=lmod.sh.j2 dest=/etc/profile.d/lmod.sh 
+  template: src=lmod.sh.j2 dest=/etc/profile.d/lmod.sh
   become: true
   become_user: root
   when: default_modules == "lmod"
diff --git a/roles/sysctl_network/tasks/main.yml b/roles/sysctl_network/tasks/main.yml
index c7824dc35aa39d588c8743a802dd290fe5052d7f..ca279fb995bf2d6bf447a32f8510ab0e5baeb9ba 100644
--- a/roles/sysctl_network/tasks/main.yml
+++ b/roles/sysctl_network/tasks/main.yml
@@ -5,7 +5,7 @@
     dest: '/etc/sysctl.d'
   become: true
   become_user: root
-  register: sysctl-network-conf
+  register: sysctl_network_conf
 
 #The sysctl module manages entries in sysctl.conf and setting "reload :yes" performs a /sbin/sysctl -p if the sysctl file is updated. In addition this module requires a name for a specific sysctl variable in order to work.
 #In this case we need to update the network configuration and making no change to the sysctl.conf file hence the module is not applicable. I am replacing it with a shell module instead.
@@ -13,4 +13,4 @@
   shell: sysctl -p
   become: true
   become_user: root
-  when: sysctl-network-conf.changed
+  when: sysctl_network_conf.changed