Sha256: cac1d9372a2b87b4eec8d3b99635c378acc189ee48032b68238ea142262ade93

Contents?: true

Size: 567 Bytes

Versions: 15

Compression:

Stored size: 567 Bytes

Contents

# file: postgresql/tasks/users_privileges.yml

- name: PostgreSQL | Update the user privileges
  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)}}"
  become: yes
  become_user: "{{postgresql_admin_user}}"
  with_items: "{{postgresql_user_privileges}}"
  when: postgresql_users|length > 0

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
taperole-2.1.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.1.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.7 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.6 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.5 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.4 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.3 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-2.0.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.8.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.8.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.8.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.7.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.7.0 vendor/ANXS.postgresql/tasks/users_privileges.yml