talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/postgres_client/tasks/main.yml
senke 66471934af Initial commit: Talas Group project management & documentation
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>
2026-04-04 20:10:41 +02:00

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