No description
group_vars | ||
host_vars | ||
playbooks | ||
roles | ||
vars | ||
.gitignore | ||
ansible.cfg | ||
hosts | ||
inventory.yml | ||
main.yml | ||
mesh_devices_template.yml | ||
README.md | ||
README_build.md | ||
TODO.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