No Description

blat d16d30e9aa update certs and build system 1 year ago
group_vars d16d30e9aa update certs and build system 1 year ago
host_vars d16d30e9aa update certs and build system 1 year ago
playbooks d16d30e9aa update certs and build system 1 year ago
roles d16d30e9aa update certs and build system 1 year ago
vars d16d30e9aa update certs and build system 1 year ago
.gitignore d16d30e9aa update certs and build system 1 year ago
README.md d16d30e9aa update certs and build system 1 year ago
README_build.md d16d30e9aa update certs and build system 1 year ago
TODO.md d16d30e9aa update certs and build system 1 year ago
ansible.cfg d16d30e9aa update certs and build system 1 year ago
hosts d16d30e9aa update certs and build system 1 year ago
inventory.yml d16d30e9aa update certs and build system 1 year ago
main.yml d16d30e9aa update certs and build system 1 year ago
mesh_devices_template.yml d16d30e9aa update certs and build system 1 year ago

README.md

un ruolo ansible per aggiornare i belvederi e la macchina con gli strumenti

alcuni ruoli per installare i componenti necessari al monitoring dei belvederi

  • prometheus
  • blackbox_exporter
  • alertmanager

requirements

pip3 install ansible
pip3 install jinja2-ansible-filters

Aggiungi il percorso di dove ti ha installato ansible ed aggeggi vari nel tuo .bash_profile che hai in home:

#ansible ed ansible-galaxy
export PATH=$PATH:~/.local/bin

dai source ~/.bash_profile

Installa i componenti ansible-galaxy

ansible-galaxy collection install community.general
ansible-galaxy install cloudalchemy.prometheus
ansible-galaxy install cloudalchemy.blackbox-exporter
ansible-galaxy install cloudalchemy.alertmanager
ansible-galaxy install nginxinc.nginx
ansible-galaxy install nginxinc.nginx_config

run

ansible-playbook -i hosts -i inventory.yml main.yml

setup dei belvederi

ansible-playbook -i hosts -i inventory.yml infra.yml

# https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem