Commit cf8f20ae authored by nono's avatar nono 💻
Browse files

Ajout de la surveillance multi-serveur

parent 9f0be31e
......@@ -23,12 +23,12 @@
hosts: nextcloud
remote_user: root
roles:
- security-lqdn
- updates-lqdn
- packages-lqdn
- ansible-role-certbot
# - ansible-node-exporter
- install_nextcloud
- security-lqdn
- updates-lqdn
- packages-lqdn
- ansible-role-certbot
# - ansible-node-exporter
- install_nextcloud
tags:
- nextcloud
- production
......
......@@ -23,39 +23,42 @@
- testing
- base
- name: Serveur d'Administration
hosts: admin.test.lqdn.fr
- name: Mise en place des firewall
hosts: test
remote_user: root
roles:
- ansible-firewall
tags:
- testing
- firewall
- name: Monitoring des serveurs ( Admin )
hosts: stats,&lqdnadmin
remote_user: root
vars_files:
- group_vars/admin/admin.yml
- group_vars/monitoring/monitoring-admin.yml
- host_vars/lqdnadmin.yml
roles:
- shell-lqdn
- updates-lqdn
- security-lqdn
- logging-lqdn
- ansible-prometheus
- ansible-grafana
- ansible-node-exporter
- ansible-role-certbot
- ansible-role-nginx
- ansible-role-firewall
tags:
- admin
- testing
- stats
- name: Surveillance du serveur
hosts: stats.test.lqdn.fr
- name: Monitoring des serveurs ( Test )
hosts: stats,!lqdnadmin
remote_user: root
vars_files:
- group_vars/monitoring/monitoring.yml
- group_vars/monitoring/monitoring-node.yml
- host_vars/lqdntest.yml
roles:
- security-lqdn
- ansible-role-certbot
- ansible-role-nginx
- ansible-role-firewall
- ansible-node-exporter
- ansible-prometheus
- ansible-grafana
tags:
- testing
- stats
......@@ -64,7 +67,7 @@
hosts: don.test.lqdn.fr
remote_user: root
vars_files:
- group_vars/don/don.yml
- group_vars/don/don.yml
roles:
- ansible-role-certbot
- ansible-role-nginx
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment