fix: Move SSH private key setting from ansible.cfg to inventory
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = inventory.ini
|
inventory = inventory.ini
|
||||||
host_key_checking = False
|
host_key_checking = False
|
||||||
private_key_file = {{ private_key_file }}
|
|
||||||
retry_files_enabled = False
|
retry_files_enabled = False
|
||||||
roles_path = roles
|
roles_path = roles
|
||||||
stdout_callback = yaml
|
stdout_callback = yaml
|
||||||
|
|||||||
@@ -15,4 +15,5 @@ workers
|
|||||||
[cluster:vars]
|
[cluster:vars]
|
||||||
ansible_user=root
|
ansible_user=root
|
||||||
ansible_python_interpreter=/usr/bin/python3
|
ansible_python_interpreter=/usr/bin/python3
|
||||||
|
ansible_ssh_private_key_file={{ private_key_file }}
|
||||||
k3s_version=latest
|
k3s_version=latest
|
||||||
|
|||||||
Reference in New Issue
Block a user