Skip to content

Commit 37b2023

Browse files
fix: private key
1 parent 8be9820 commit 37b2023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/ansible/inventory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ all:
33
app_server:
44
ansible_host: "{{ lookup('env', 'EC2_PUBLIC_IP') }}"
55
ansible_user: "{{ lookup('env', 'AWS_EC2_USER') }}"
6-
ansible_ssh_private_key_file: "vockey.pem"
6+
ansible_ssh_private_key: "{{ lookup('env', 'AWS_EC2_PRIVATE_KEY') }}"
77
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"

0 commit comments

Comments
 (0)