Files
ansible/playbooks/router.yml
T
2026-09-20 22:14:56 +00:00

29 lines
572 B
YAML

---
- name: configure over pct
hosts: router
gather_facts: false
roles:
- 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
- stunnel4
- openvpn
- xray-core
- logrotate
- dnsmasq
- xray-lists
- unbound
- nftables