Skip to content

The priv option has been deprecated on postgresql_user module #593

Closed

Description

@JonathanGun

postgresql_user:
name: "{{item.name}}"
db: "{{item.db | default(omit)}}"
port: "{{postgresql_port}}"
priv: "{{item.priv | default(omit)}}"
state: present
login_host: "{{item.host | default(omit)}}"
login_user: "{{postgresql_admin_user}}"
role_attr_flags: "{{item.role_attr_flags | default(omit)}}"

WARNING The priv option has been deprecated and will be removed in community.postgresql 4.0.0. Please use the community.postgresql.postgresql_privs module instead.

Reference: https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_user_module.html#ansible-collections-community-postgresql-postgresql-user-module

Activity

  1. github-actions commented on Sep 1, 2025

    @github-actions

    This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

  2. pandafy commented on Sep 11, 2025

    @pandafy

    Bump!

  3. changed the title [-]The priv option has been deprecated on postgresq_user module[/-] [+]The priv option has been deprecated on postgresql_user module[/+] on Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions