Files
xinfra/ansible/inventory.example.yml
T
mac 5ddb434b74 feat(delivery): add Ansible playbook for native MySQL provisioning
Add mysql-deploy.yml playbook for bare-metal MySQL 8.0 delivery via
AWX: parameter validation, resource preflight checks, apt install,
AppArmor adaptation, per-instance directory layout, Jinja2 config
template (buffer pool sizing, binlog, GTID), systemd template unit
(mysql-delivery@.service), admin account setup, and TCP health
verification. Includes example inventory.

Relates-to: #97
2026-07-23 12:05:07 +08:00

12 lines
339 B
YAML

all:
children:
mysql_hosts:
hosts:
k8s-server-01: { ansible_host: 192.168.1.4 }
k8s-server-02: { ansible_host: 192.168.1.5 }
k8s-server-03: { ansible_host: 192.168.1.2 }
k8s-worker-01: { ansible_host: 192.168.1.3 }
vars:
ansible_user: root
ansible_python_interpreter: /usr/bin/python3