aboutsummaryrefslogtreecommitdiffstats
path: root/roles/postgres/tasks/create_user.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/postgres/tasks/create_user.yml')
-rw-r--r--roles/postgres/tasks/create_user.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/postgres/tasks/create_user.yml b/roles/postgres/tasks/create_user.yml
index 4716939..483e507 100644
--- a/roles/postgres/tasks/create_user.yml
+++ b/roles/postgres/tasks/create_user.yml
@@ -1,4 +1,4 @@
- name: create database user # noqa: no-changed-when
- command: createuser -U postgres "{{ postgres_db_user }}"
+ ansible.builtin.command: createuser -U postgres "{{ postgres_db_user }}"
register: result
failed_when: result.rc != 0 and "already exists" not in result.stderr
remember that computers suck.