From e26fdfe6143e1602e73cc5092392adc3fceb8f54 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 28 Feb 2026 22:53:37 +0000 Subject: [PATCH] fix: Move SSH private key setting from ansible.cfg to inventory --- ansible/ansible.cfg | 1 - ansible/inventory.tmpl | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index ed5cfba..696c99f 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -1,7 +1,6 @@ [defaults] inventory = inventory.ini host_key_checking = False -private_key_file = {{ private_key_file }} retry_files_enabled = False roles_path = roles stdout_callback = yaml diff --git a/ansible/inventory.tmpl b/ansible/inventory.tmpl index 8e2bf15..4ae3604 100644 --- a/ansible/inventory.tmpl +++ b/ansible/inventory.tmpl @@ -15,4 +15,5 @@ workers [cluster:vars] ansible_user=root ansible_python_interpreter=/usr/bin/python3 +ansible_ssh_private_key_file={{ private_key_file }} k3s_version=latest