blob: 483e5072f43af4bc000a4e71c3ee2b68d4d9ada9 (
plain) (
tree)
|
|
- name: create database user # noqa: no-changed-when
ansible.builtin.command: createuser -U postgres "{{ postgres_db_user }}"
register: result
failed_when: result.rc != 0 and "already exists" not in result.stderr
|