1
0
homelab/ansible/30_load_balancer.yml
cuqmbr 4f0fe0113f
add init role to every playbook
to be able to configure users separatly
2025-06-29 11:38:45 +03:00

20 lines
424 B
YAML

---
- hosts: load_balancers
gather_facts: false
pre_tasks:
- name: Update apt cache.
ansible.builtin.apt:
update_cache: true
cache_valid_time: 86400
- name: Include nginx role.
ansible.builtin.include_role:
name: roles/nginx
roles:
- role: roles/init
- role: roles/fluent_bit
- role: roles/prometheus_node_exporter
- role: roles/prometheus_nginx_exporter