From dff26f7742e8a4aea2f5cec128d6667546599194 Mon Sep 17 00:00:00 2001 From: Esthela Gallardo Date: Fri, 3 May 2024 12:53:39 -0500 Subject: [PATCH] implements bug fix to ensure pbs dataservice starts up successfully (#1904) --- playbooks/roles/pbsserver/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/pbsserver/tasks/main.yml b/playbooks/roles/pbsserver/tasks/main.yml index 417bef28..8f131e44 100644 --- a/playbooks/roles/pbsserver/tasks/main.yml +++ b/playbooks/roles/pbsserver/tasks/main.yml @@ -143,6 +143,7 @@ service: name: postgresql state: started + when: ansible_distribution in ['CentOS', 'AlmaLinux'] - name: start pbs-server service: @@ -150,4 +151,4 @@ state: started - name: check pbs connection - command: qstat + command: /opt/pbs/bin/qstat