-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsat-demo
80 lines (67 loc) · 1.99 KB
/
sat-demo
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
; all the hosts that are in the demo
; vim: filetype=dosini
[demo:children]
ovirt
ec2
[ec2:vars]
ec2_demo_tag=test-satellite1
[ovirt]
; hosts that are in AWS
[ec2:children]
dns
clients
capsules
satellites
[satellites]
satellite
[capsules]
capsule[1:2]
[dns]
dns1
[clients]
client1
client2 satellite_server='{{ groups.satellites | first }}' satellite_url=
[dns:vars]
subscription_ak=
ec2_instance_type=t2.small
rhel_extras_repo=rhui-REGION-rhel-server-extras
ec2_volumes={{ default_ec2_volumes }}
docker_storage_dev=/dev/xvdb
[clients:vars]
subscription_ak=
ec2_volume_sizes=[ 10, 0 ]
ec2_instance_type=t2.small
satellite_server={{ groups.dns | first }}
satellite_url=https://{{ satellite_server_hostname }}:8443
[capsules:vars]
ec2_volume_sizes=[ 128, 0 ]
ec2_instance_type=m4.large
subscription_ak=
satellite_smartproxy={{ groups.dns | first }}
[satellites:vars]
ec2_volume_sizes=[ 256, 0 ]
ec2_instance_type=m5.xlarge
subscription_ak=SATELLITE-DEMO-SATELLITE
rhel_updates=True
satellite_version=6.3
satellite_rhsm_user=
satellite_manifest_file=/tmp/install/manifest.zip
satellite_default_organization=Gonoph
satellite_default_location=Home
satellite_enable_tftp=False
satellite_enable_discovery=False
satellite_subnets=[ [ "{{ ec2_vpc_subnet_cidr_block}}", "{{ ec2_vpc_subnet_cidr_block | ipaddr('subnet') | ipaddr(1) | ipaddr('address') }}" ] ]
[ec2:vars]
ec2_volumes={{ default_ec2_volumes[0:1] }}
ansible_user=ec2-user
private_ip_start=80
private_ip="{{ ec2_vpc_subnet_cidr_block | ipaddr(private_ip_start + groups['ec2'].index(inventory_hostname)) | ipaddr('address') }}"
hostname="{{ inventory_hostname }}.example.com"
# the following is RHEL 7.5 2018-03-22 in us-east-1 via Cloud Access (recommended)
ec2_ami_image=ami-0d70a070
# put your network here, but it will look up your current IP
# ec2_mynetworks=[ ]
# subnet will be picked from 1st subnet found in VPC if not defined
# ec2_vpc_subnet=subnet-ffffffff
# if you only have one VPC, then it will be selected, otherwise, define it here
# ec2_vpc_id=vpc-fffffff