initial ansible code

This commit is contained in:
Oli
2022-10-09 21:41:56 +00:00
parent 4a64eab4a0
commit feaec34dd2
103 changed files with 4473 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
- name: restart postgresql
systemd:
name: postgresql.service
state: restarted
- name: reload postgresql
systemd:
name: postgresql.service
state: reloaded
- name: restart postgres_exporter
systemd:
daemon_reload: true
enabled: true
name: postgres_exporter.service
state: restarted