started mariadb and postgresql

This commit is contained in:
Torma Kristóf 2022-01-08 21:53:39 +01:00
parent 3a460cc704
commit 542c444684
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
---
- name: "Install MariaDB via apt"
apt:
update_cache: yes
state: present
name:
- mariadb
- name: Enable and restart MariaDB daemon
service:
name: mariadb
state: restarted
enabled: yes

View File

@ -0,0 +1,13 @@
---
- 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