postgresql/tasks/user.yaml

11 lines
337 B
YAML
Raw Normal View History

2023-02-07 23:13:12 +00:00
- name: Set initial PostgreSQL user
become: true
become_user: postgres
vars:
ansible_python_interpreter: '/usr/bin/env python3'
community.postgresql.postgresql_user:
2023-02-09 21:49:13 +00:00
db: "{{ postgresql_superuser_db }}"
2023-02-17 15:13:08 +00:00
name: "{{ postgresql_superuser_username }}"
2023-02-07 23:13:12 +00:00
password: "{{ postgresql_superuser_password }}"
state: present