There was an error while loading. Please reload this page.
2 parents 736a937 + 4b775a6 commit 8ed8402Copy full SHA for 8ed8402
1 file changed
IaC/3-v3/ansible/inventory/aws_ec2.yaml
@@ -26,8 +26,11 @@ hostnames:
26
- private-ip-address
27
28
compose:
29
- ansible_host: private_ip_address
+ ansible_host: instance_id
30
+ ansible_connection: "'aws_ssm'"
31
+ ansible_aws_ssm_region: "'ap-northeast-2'"
32
ansible_user: ubuntu
33
k8s_role: tags['k8s:role']
34
k8s_nodepool: tags['k8s:nodepool']
35
node_az: placement.availability_zone
36
+ private_ip: private_ip_address
0 commit comments