refactor: restructure inventory, split roles and add new services

This commit is contained in:
2026-09-07 19:50:34 +00:00
parent 33ddc88ee9
commit ba9e1a664f
114 changed files with 1117 additions and 418 deletions
+24 -4
View File
@@ -1,9 +1,29 @@
---
- hosts: router
become: yes
- name: configure over pct
hosts: router
gather_facts: false
roles:
- router
- authorized_key
- ifupdown2
- name: configure over ssh
hosts: router
vars:
ansible_connection: ssh
ansible_host: "{{ container_ip }}"
ansible_user: root
ansible_ssh_private_key_file: ~/.ssh/id_ed25519
ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
roles:
- timezone
- locales
- sysctl
- xray-core
- xray-client
- logrotate
- dnsmasq
- xray-lists
- unbound
- dnsmasq
- wireguard-tools
- zerotier-one
- nftables