2024-09-19 23:10:00 +02:00
|
|
|
---
|
|
|
|
- name: Install postgres
|
|
|
|
apt:
|
|
|
|
name: "{{ postgres_packages }}"
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Start and enable the service
|
|
|
|
systemd:
|
|
|
|
name: postgresql
|
|
|
|
state: started
|
2024-09-20 15:01:33 +02:00
|
|
|
daemon_reload: true
|
2024-09-19 23:10:00 +02:00
|
|
|
enabled: true
|
|
|
|
become: true
|