From 54c05bb03a6dd8bbcf4684502a9ff5f0a236ea2c Mon Sep 17 00:00:00 2001 From: "Ben D." Date: Wed, 29 Apr 2026 09:09:03 -0700 Subject: [PATCH] Updated Template --- inventories/client_template/hosts.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inventories/client_template/hosts.yml b/inventories/client_template/hosts.yml index 827a1c9..e96ac75 100644 --- a/inventories/client_template/hosts.yml +++ b/inventories/client_template/hosts.yml @@ -22,10 +22,12 @@ all: ansible_host: "{{ FW_HOST }}" pfsense_nodes: + # Depends on variables set in group_vars/pfsense_nodes.yml hosts: client-fw-01: ansible_host: "{{ FW_HOST }}" ansible_port: 22222 + ansible_ssh_private_key_file: "~/.ssh/client_{{ CLIENT_SLUG }}" ha_role: "primary" # Use: primary | backup #ha_peer: "client-fw-02" # Uncomment if this node is part an HA pair @@ -46,7 +48,7 @@ all: hosts: {} vars: ansible_user: root - ansible_ssh_private_key_file: "~/.ssh/client_key" + ansible_ssh_private_key_file: "~/.ssh/client_{{ CLIENT_SLUG }}" os_family: "debian" windows_hosts: