mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 01:13:00 +00:00
[PR #11944/c7be9e4d backport][stable-12] odbc: add Arch Linux support via AUR psqlodbc (#11963)
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
(cherry picked from commit c7be9e4d5b)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
22deae25c9
commit
365e02d10c
5 changed files with 85 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue