Skip to content

Commit

Permalink
state absolute public key location
Browse files Browse the repository at this point in the history
  • Loading branch information
florianBachinger committed Nov 13, 2023
1 parent 8809420 commit 45b9c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/terraform/ansible.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "local_file" "ansible_inventory" {
[all:vars]
ansible_python_interpreter=/usr/bin/python3
ansible_ssh_extra_args='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ansible_ssh_private_key_file=~/.ssh/id_rsa
ansible_ssh_private_key_file=/root/.ssh/id_rsa
ansible_user=${var.vm_username}
EOF
}

0 comments on commit 45b9c2e

Please sign in to comment.