-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.example
44 lines (35 loc) · 1008 Bytes
/
inventory.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[ubuntu]
# Add your EC2 hostnames here.
ec2-3-255-124-217.eu-west-1.compute.amazonaws.com
[ubuntu:vars]
ansible_connection=ssh
ansible_ssh_user=ubuntu
ansible_ssh_private_key_file=/Users/qarroumh/Downloads/EC2.pem
[redhat]
# Add your EC2 hostnames here.
[redhat:vars]
ansible_connection=ssh
ansible_ssh_user=ec2-user
ansible_ssh_private_key_file=/Users/qarroumh/Downloads/EC2.pem
[debian]
# Add your EC2 hostnames here.
[debian:vars]
ansible_connection=ssh
ansible_ssh_user=admin
ansible_ssh_private_key_file=/path/to/private/certificate
[windows]
# Add your EC2 hostnames here.
[windows:vars]
ansible_connection=winrm
ansible_user=Administrator
ansible_password="bMjNkNS6Q0Sr=GX=2WcsAGv%6J0EOE5Z"
ansible_winrm_server_cert_validation=ignore
[windows-ssm]
# Add your instance identifiers here.
[windows-ssm:vars]
ansible_user="EC2AMAZ-ID"
ansible_connection=aws_ssm
ansible_shell_type=powershell
ansible_aws_ssm_region="eu-west-1"
ansible_aws_ssm_retries=3
ansible_aws_ssm_bucket_name="bucket-name"