From 76f775ff1ab8b48bada931a304821b72bb40a0d1 Mon Sep 17 00:00:00 2001 From: shenlan Date: Tue, 5 Aug 2025 16:57:00 +0800 Subject: [PATCH] Add entry playbook for OpenResty --- playbooks/openresty.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 playbooks/openresty.yml diff --git a/playbooks/openresty.yml b/playbooks/openresty.yml new file mode 100644 index 0000000..f6164a2 --- /dev/null +++ b/playbooks/openresty.yml @@ -0,0 +1,15 @@ +- hosts: all + become: true + vars: + # Use the inventory hostname for delegation so Ansible + # applies the correct connection variables + ops_host: "k8s-1" + masters: + - "k8s-1" + nodes: + - "k8s-2" + - "k8s-3" + roles: + - roles/vhosts/common/ + - roles/vhosts/ssh-trust/ + - roles/vhosts/OpenResty/