Sha256: 0eec0ca2c1f6525f288a6e205afe421d45008566927a461fe112b8fe0f443529

Contents?: true

Size: 547 Bytes

Versions: 16

Compression:

Stored size: 547 Bytes

Contents

# file: postgresql/tasks/users_privileges.yml

- name: PostgreSQL | Update the user privileges
  postgresql_user:
    name: "{{item.name}}"
    db: "{{item.db}}"
    port: "{{postgresql_port}}"
    priv: "{{item.priv | default('ALL')}}"
    state: present
    login_host: "{{item.host | default('localhost')}}"
    login_user: "{{postgresql_admin_user}}"
    role_attr_flags: "{{item.role_attr_flags | default('')}}"
  sudo: yes
  sudo_user: "{{postgresql_admin_user}}"
  with_items: postgresql_user_privileges
  when: postgresql_users|length > 0

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
taperole-1.2.8 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.7 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.6 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.5 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.4 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.3 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.2.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.1.5 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.1.4 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.1.3 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.1.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.1.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.1.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.0.1 vendor/ANXS.postgresql/tasks/users_privileges.yml