Skip to content

Commit

Permalink
restart service after update
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Apr 22, 2024
1 parent af60421 commit ee2a728
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions playbooks/roles/pbsserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
args:
chdir: /opt/cycle/pbspro

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

- name: create cron entry to remove old accounting files
cron:
name: "remove PBS accounting files older than 90 days"
Expand All @@ -133,3 +128,13 @@
name: pkg_update
apply:
become: true

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

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

0 comments on commit ee2a728

Please sign in to comment.