Private
Public Access
2
0

squid: add role

This commit is contained in:
2026-02-05 09:52:04 +03:00
parent 34f208b75b
commit eecd5e9972
7 changed files with 9440 additions and 3 deletions

View File

@@ -24,6 +24,20 @@
tags:
- "local_ca"
- name: Proxy server
hosts: proxy
gather_facts: false
vars_files:
- "vars/common.yml"
- "vars/secrets.yml"
vars:
squid_authorized_networks:
- "{{ ansible_default_ipv4.network }}/24"
roles:
- "squid"
tags:
- "proxy"
- name: Common
hosts: all
gather_facts: false
@@ -31,6 +45,7 @@
- "vars/common.yml"
- "vars/secrets.yml"
vars:
common_proxy_server: "{{ hostvars['proxy1'].ansible_default_ipv4.address }}:3128"
common_default_packages:
- "net-tools"
- "htop"
@@ -99,15 +114,15 @@
- name: "{{ common.consul.datacenter }}.{{ common.consul.domain }}"
stub_to: "127.0.0.1@8600"
caddy_sites: "{{ common.sites }}"
ovh_ldp_cluster: "gra2.logs.ovh.com"
ovh_ldp_token: "{{ secrets.ovh_ldp.token }}"
# ovh_ldp_cluster: "gra2.logs.ovh.com"
# ovh_ldp_token: "{{ secrets.ovh_ldp.token }}"
roles:
- "local_ca_certs"
- "consul"
- "caddy"
# - "keepalived"
- "unbound"
- "ovh_ldp"
# - "ovh_ldp"
tags:
- "waf"