1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-04 09:23:02 +00:00

odbc: add Arch Linux support via AUR psqlodbc (#11944)

* test(odbc): add Arch Linux support via AUR psqlodbc

Fixes #4267

* test(setup_postgresql_db): guard Arch Linux initdb with creates

* test(odbc): add setup_remote_tmp_dir dependency
This commit is contained in:
Alexei Znamensky 2026-04-30 21:52:30 +12:00 committed by GitHub
parent 036811e668
commit c7be9e4d5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 85 additions and 1 deletions

View file

@ -100,6 +100,8 @@
- name: Initialize postgres (Archlinux)
command: su - postgres -c "initdb --locale en_US.UTF-8 -D '/var/lib/postgres/data'"
args:
creates: /var/lib/postgres/data/PG_VERSION
when: ansible_facts.os_family == "Archlinux"
- name: Initialize postgres (Alpine)