You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
391B

  1. ---
  2. - block:
  3. - name: postgresql user
  4. postgresql_user:
  5. name: "{{buildbot_db_user}}"
  6. password: "{{buildbot_db_pass}}"
  7. notify: restart buildbot service
  8. - name: postgresql database
  9. postgresql_db:
  10. name: "{{buildbot_db_name}}"
  11. owner: "{{buildbot_db_user}}"
  12. notify: restart buildbot service
  13. become: true
  14. become_user: postgres