Added a BUNCH of configs.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- name: Install monitoring packages
|
||||
hosts: monitoring_targets
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Install node exporter
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- prometheus-node-exporter
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: Enable and start node exporter
|
||||
ansible.builtin.systemd:
|
||||
name: prometheus-node-exporter
|
||||
enabled: true
|
||||
state: started
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Install common packages
|
||||
hosts: debian machines
|
||||
become: true
|
||||
|
||||
vars:
|
||||
common_packages:
|
||||
- qemu-guest-agent
|
||||
- btop
|
||||
- fastfetch
|
||||
- curl
|
||||
- wget
|
||||
- nano
|
||||
|
||||
tasks:
|
||||
- name: Install packages
|
||||
apt:
|
||||
name: "{{ common_packages }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
@@ -0,0 +1,45 @@
|
||||
[machines]
|
||||
proxmox ansible_host=10.0.2.5
|
||||
mc-servers ansible_host=10.0.3.2
|
||||
#backup-nas ansible_host=10.0.2.12
|
||||
|
||||
[debian]
|
||||
plexisklo ansible_host=10.0.1.2
|
||||
synch ansible_host=10.0.1.3
|
||||
graylog ansible_host=10.0.1.4
|
||||
kozel-tajne ansible_host=10.0.1.6
|
||||
kozel-web ansible_host=10.0.1.7
|
||||
qbittorrent ansible_host=10.0.1.8
|
||||
docker ansible_host=10.0.1.9
|
||||
pihole ansible_host=10.0.1.10
|
||||
gitea ansible_host=10.0.1.11 ansible_port=2030
|
||||
mariadb ansible_host=10.0.1.12
|
||||
zabbix ansible_host=10.0.1.20
|
||||
|
||||
[k8s]
|
||||
k8s-cp-00 ansible_host=10.0.4.2
|
||||
k8s-cp-01 ansible_host=10.0.4.3
|
||||
k8s-cp-02 ansible_host=10.0.4.4
|
||||
k8s-wrk-00 ansible_host=10.0.4.12
|
||||
k8s-wrk-01 ansible_host=10.0.4.13
|
||||
k8s-wrk-02 ansible_host=10.0.4.14
|
||||
|
||||
[all:vars]
|
||||
ansible_user=root
|
||||
ansible_port=22
|
||||
ansible_python_interpreter=/usr/bin/python3
|
||||
|
||||
[monitoring_targets]
|
||||
proxmox
|
||||
mc-servers
|
||||
plexisklo
|
||||
synch
|
||||
graylog
|
||||
kozel-tajne
|
||||
kozel-web
|
||||
qbittorrent
|
||||
docker
|
||||
pihole
|
||||
gitea
|
||||
mariadb
|
||||
zabbix
|
||||
Reference in New Issue
Block a user