started mariadb and postgresql
This commit is contained in:
parent
3a460cc704
commit
542c444684
13
roles/mariadb/tasks/mariadb.yaml
Normal file
13
roles/mariadb/tasks/mariadb.yaml
Normal 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
|
13
roles/postgresql/tasks/postgresql.yaml
Normal file
13
roles/postgresql/tasks/postgresql.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user