Skip to content

Commit

Permalink
stop and start pbs services
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Apr 22, 2024
1 parent 0e86b42 commit 22f57ae
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions playbooks/roles/pbsserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,25 @@
apply:
become: true

- name: Restart postgresql
- name: stop postgresql
service:
name: postgresql
state: restarted
state: stopped

- name: Restart pbs-server
- name: stop pbs-server
service:
name: pbs
state: restarted
state: stopped

- name: start postgresql
service:
name: postgresql
state: started

- name: start pbs-server
service:
name: pbs
state: started

- name: check pbs connection
command: qstat

0 comments on commit 22f57ae

Please sign in to comment.