We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be9820 commit 37b2023Copy full SHA for 37b2023
infrastructure/ansible/inventory.yml
@@ -3,5 +3,5 @@ all:
3
app_server:
4
ansible_host: "{{ lookup('env', 'EC2_PUBLIC_IP') }}"
5
ansible_user: "{{ lookup('env', 'AWS_EC2_USER') }}"
6
- ansible_ssh_private_key_file: "vockey.pem"
+ ansible_ssh_private_key: "{{ lookup('env', 'AWS_EC2_PRIVATE_KEY') }}"
7
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
0 commit comments