mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-02 15:57:17 +00:00
20 lines
478 B
YAML
20 lines
478 B
YAML
- name: "loading database configuration variables"
|
|
include_vars:
|
|
file: "{{ role_path }}/vars/db_config.yml"
|
|
|
|
- name: "Render servers.json file"
|
|
template:
|
|
src: servers.json.j2
|
|
dest: "{{ pgadmin_host_server_file }}"
|
|
mode: "0644"
|
|
notify: compose up
|
|
|
|
- name: "Render .pgpass file"
|
|
template:
|
|
src: pgpass.j2
|
|
dest: "{{ pgadmin_host_password_file }}"
|
|
owner: "{{ PGADMIN_USER }}"
|
|
group: "{{ PGADMIN_GROUP }}"
|
|
mode: "0600"
|
|
notify: compose up
|