Browse Source

restart buildbot when database has changed

covid-videoplattform
parent
commit
5f0b1f5bf0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tasks/database.yaml

+ 2
- 0
tasks/database.yaml View File

@@ -6,11 +6,13 @@
postgresql_user:
name: "{{buildbot_db_user}}"
password: "{{buildbot_db_pass}}"
notify: restart buildbot service

- name: postgresql database
postgresql_db:
name: "{{buildbot_db_name}}"
owner: "{{buildbot_db_user}}"
notify: restart buildbot service

become: true
become_user: postgres

Loading…
Cancel
Save