Initial commit
This commit is contained in:
commit
5b6c0cc415
3 changed files with 58 additions and 0 deletions
4
ansible.cfg
Normal file
4
ansible.cfg
Normal file
|
@ -0,0 +1,4 @@
|
|||
[defaults]
|
||||
host_key_checking=False
|
||||
interpreter_python=auto_silent
|
||||
inventory=./inventory.yml
|
37
inventory.yml
Normal file
37
inventory.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
servers:
|
||||
hosts:
|
||||
reason:
|
||||
ansible_host: 192.168.1.183
|
||||
nomadix:
|
||||
ansible_host: 192.168.1.5
|
||||
|
||||
applicances:
|
||||
hosts:
|
||||
ipowerswitch:
|
||||
ansible_host: 192.168.1.99
|
||||
|
||||
proxmox:
|
||||
hosts:
|
||||
pihole:
|
||||
ansible_host: 192.168.1.2
|
||||
wireguard:
|
||||
ansible_host: 192.168.1.6
|
||||
lldap:
|
||||
ansible_host: 192.168.1.7
|
||||
traefik:
|
||||
ansible_host: 192.168.1.8
|
||||
ansible_user: root
|
||||
homeassistant:
|
||||
ansible_host: 192.168.1.13
|
||||
mqtt:
|
||||
ansible_host: 192.168.1.14
|
||||
asterisk:
|
||||
ansible_host: 192.168.1.21
|
||||
heimdall:
|
||||
ansible_host: heimdall-dashboard.sailmaker.fenix.lgbt
|
||||
|
||||
sailmaker:
|
||||
children:
|
||||
servers:
|
||||
appliances:
|
||||
proxmox:
|
17
promtail.yml
Normal file
17
promtail.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
- name: Manage promtail service
|
||||
hosts: traefik
|
||||
become: true
|
||||
vars:
|
||||
promtail_clients:
|
||||
- url: http://192.168.1.183:3100/loki/api/v1/push
|
||||
promtail_scrape_configs:
|
||||
- job_name: system
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: traefik
|
||||
instance: "{{ ansible_fqdn }}"
|
||||
__path__: /var/log/traefik/*.log
|
||||
roles:
|
||||
- role: grafana.grafana.promtail
|
Loading…
Reference in a new issue