mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
(cherry picked from commit 20db4fc560)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
when: ansible_os_family == "RedHat" and ansible_service_mgr != "systemd"
|
||||
|
||||
- name: Initialize postgres (Debian)
|
||||
shell: . /usr/share/postgresql-common/maintscripts-functions && set_system_locale && /usr/bin/pg_createcluster -u postgres {{ pg_ver }} main
|
||||
shell: . /usr/share/postgresql-common/maintscripts-functions && set_system_locale && /usr/bin/pg_createcluster -u postgres {{ pg_ver }} main
|
||||
args:
|
||||
creates: /etc/postgresql/{{ pg_ver }}/
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
Reference in New Issue
Block a user