mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
16
roles/web-app-pgadmin/templates/servers.json.j2
Normal file
16
roles/web-app-pgadmin/templates/servers.json.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"Servers": {
|
||||
{% for server in pgadmin_servers %}
|
||||
"{{ loop.index }}": {
|
||||
"Name": "{{ server.name }}",
|
||||
"Group": "Servers",
|
||||
"Host": "{{ server.host }}",
|
||||
"Port": {{ server.port }},
|
||||
"MaintenanceDB": "{{ server.maintenance_db }}",
|
||||
"Username": "{{ server.username }}",
|
||||
"SSLMode": "prefer",
|
||||
"PassFile": "/pgpass"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user