blat d16d30e9aa update certs and build system | hai 1 ano | |
---|---|---|
group_vars | hai 1 ano | |
host_vars | hai 1 ano | |
playbooks | hai 1 ano | |
roles | hai 1 ano | |
vars | hai 1 ano | |
.gitignore | hai 1 ano | |
README.md | hai 1 ano | |
README_build.md | hai 1 ano | |
TODO.md | hai 1 ano | |
ansible.cfg | hai 1 ano | |
hosts | hai 1 ano | |
inventory.yml | hai 1 ano | |
main.yml | hai 1 ano | |
mesh_devices_template.yml | hai 1 ano |
un ruolo ansible per aggiornare i belvederi e la macchina con gli strumenti
alcuni ruoli per installare i componenti necessari al monitoring dei belvederi
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