Knowledge base of ~80+ markdown files across 14 domains (00-13), Logseq graph, hardware design files (KiCAD), infrastructure configs, and talas-wiki static site. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
510 B
YAML
18 lines
510 B
YAML
---
|
|
# file: roles/postgres_client/tasks/main.yml
|
|
|
|
- name: "Install PostgreSQL client(s)"
|
|
ansible.builtin.apt:
|
|
name: >-
|
|
{{
|
|
(postgres_client_versions is defined and (postgres_client_versions | length > 0))
|
|
| ansible.builtin.ternary(
|
|
postgres_client_versions
|
|
| map('string')
|
|
| unique | sort
|
|
| map('regex_replace', '^', 'postgresql-client-')
|
|
| list,
|
|
'postgresql-client'
|
|
)
|
|
}}
|
|
tags: postgres
|