Sha256: 44f6c4099e598b2149a6367dab397bc8aadf118cfceb9b048cda33963c1c8a4f

Contents?: true

Size: 557 Bytes

Versions: 18

Compression:

Stored size: 557 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)}}"
  sudo: yes
  sudo_user: "{{postgresql_admin_user}}"
  with_items: postgresql_user_privileges
  when: postgresql_users|length > 0

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
taperole-1.6.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.5.5 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.5.4 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.5.3 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.5.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.5.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.5.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.4.3 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.4.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.4.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.4.0 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.6 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.5 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.4 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.3 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.2 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.1 vendor/ANXS.postgresql/tasks/users_privileges.yml
taperole-1.3.0 vendor/ANXS.postgresql/tasks/users_privileges.yml