Sha256: b4398dfeb7dbb39811e2561a5ab026925659f03b4d9d96275aead782e6bfa545

Contents?: true

Size: 595 Bytes

Versions: 15

Compression:

Stored size: 595 Bytes

Contents

# file: postgresql/tasks/users.yml

- name: PostgreSQL | Ensure PostgreSQL is running
  service:
    name: "{{ postgresql_service_name }}"
    state: started

- name: PostgreSQL | Make sure the PostgreSQL users are present
  postgresql_user:
    name: "{{item.name}}"
    password: "{{ item.pass | default(omit) }}"
    encrypted: "{{ item.encrypted | default(omit) }}"
    port: "{{postgresql_port}}"
    state: present
    login_user: "{{postgresql_admin_user}}"
  become: yes
  become_user: "{{postgresql_admin_user}}"
  with_items: "{{postgresql_users}}"
  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.yml
taperole-2.1.0 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.7 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.6 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.5 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.4 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.3 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.2 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.1 vendor/ANXS.postgresql/tasks/users.yml
taperole-2.0.0 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.8.2 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.8.1 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.8.0 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.7.1 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.7.0 vendor/ANXS.postgresql/tasks/users.yml