refactor(structure/ansible.cfg): Changed folder structure with ansible.cfg

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-02-07 00:06:37 +01:00
parent 4aa3e711c9
commit f2d489f63a
17 changed files with 837 additions and 113 deletions

19
playbooks/db.yml Normal file
View File

@@ -0,0 +1,19 @@
---
- name: Set up Servers
hosts: db
gather_facts: yes
vars_files:
- secrets.yml
roles:
- role: common
tags:
- common
- role: postgres
tags:
- postgres
- role: node_exporter
tags:
- node_exporter
- role: postgres_exporter
tags:
- postgres_exporter