fix: Move SSH private key setting from ansible.cfg to inventory
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user