From 783892c154112790cdacfc9e2c7c757402e75b59 Mon Sep 17 00:00:00 2001
From: Eesaan Atluri <atlurie@uab.edu>
Date: Wed, 18 Sep 2024 22:11:12 -0500
Subject: [PATCH] feat: Add conditional in cheaha.yml for a proxy node

A proxy node need not be a slurm client so we don't run this role
---
 ansible/cheaha.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/cheaha.yml b/ansible/cheaha.yml
index 79b50bea..bd876b10 100644
--- a/ansible/cheaha.yml
+++ b/ansible/cheaha.yml
@@ -6,4 +6,4 @@
     - { name: 'cheaha.node', tags: 'cheaha.node' }
     - { name: 'nfs_mounts', tags: 'nfs_mounts' }
     - { name: 'ldap_config', tags: 'ldap_config' }
-    - { name: 'slurm_client', tags: 'slurm_client' }
+    - { name: 'slurm_client', tags: 'slurm_client', when: "'proxy' not in group_names" }
-- 
GitLab