14 lines
233 B
YAML
14 lines
233 B
YAML
|
---
|
||
|
- name: "Install PostgreSQL via apt"
|
||
|
apt:
|
||
|
update_cache: yes
|
||
|
state: present
|
||
|
name:
|
||
|
- postgresql
|
||
|
|
||
|
- name: Enable and restart PostgreSQL daemon
|
||
|
service:
|
||
|
name: postgresql
|
||
|
state: restarted
|
||
|
enabled: yes
|