Sha256: 7340931c4401a71654999f45375fb8ae6cc470033e44c74b9b1e3fcd440a0061

Contents?: true

Size: 510 Bytes

Versions: 23

Compression:

Stored size: 510 Bytes

Contents

# file: postgresql/tasks/users.yml

- name: PostgreSQL | Ensure PostgreSQL is running
  service:
    name: postgresql
    state: started

- name: PostgreSQL | Make sure the PostgreSQL users are present
  postgresql_user:
    name: "{{item.name}}"
    password: "{{item.pass | default('pass')}}"
    port: "{{postgresql_port}}"
    state: present
    login_user: "{{postgresql_admin_user}}"
  sudo: yes
  sudo_user: "{{postgresql_admin_user}}"
  with_items: postgresql_users
  when: postgresql_users|length > 0

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
taperole-1.3.6 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.3.5 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.3.4 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.3.3 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.3.2 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.3.1 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.3.0 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.8 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.7 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.6 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.5 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.4 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.3 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.2 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.1 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.2.0 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.1.5 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.1.4 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.1.3 vendor/ANXS.postgresql/tasks/users.yml
taperole-1.1.2 vendor/ANXS.postgresql/tasks/users.yml