- name: Set initial PostgreSQL user become: true become_user: postgres vars: ansible_python_interpreter: '/usr/bin/env python3' community.postgresql.postgresql_user: db: "{{ postgresql_superuser_db }}" name: "{{ postgresql_superuser_name }}" password: "{{ postgresql_superuser_password }}" state: present