aboutsummaryrefslogtreecommitdiffstats
path: root/roles/postgres/tasks/create_user.yml
blob: 123070dbb4cc026994c5ee37c1cf86aaeaa4ed47 (plain) (blame)
1
2
3
4
- name: ensure miniflux db user exists
  shell: createuser -U postgres "{{ postgres_db_user }}"
  register: result
  failed_when: result.rc != 0 and "already exists" not in result.stderr
remember that computers suck.