-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathaz_setup_vars.yaml
More file actions
74 lines (68 loc) · 1.35 KB
/
az_setup_vars.yaml
File metadata and controls
74 lines (68 loc) · 1.35 KB
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
# localhost vars
---
global:
region: westeurope
resourcegroup: ansible_demo
state: "{{ state | default('present') }}"
admin_user: azure
vm_size: Standard_B1s
vm_image: ubuntu
vnet:
name: VNET
cidr: 172.19.0.0/17
subnets:
public:
cidr: 172.19.1.0/24
private:
cidr: 172.19.2.0/24
rt: Private_RT
sg: internal-sg
route_table:
Private_RT:
routes:
- name: Drop_Default
prefix: 0.0.0.0/0
hop_type : none
security:
groups:
web-sg:
description: Allow outside access to public web server
rules:
- name: AllowSSH
protocol: Tcp
destination_port_range: 22
direction: Inbound
priority: 101
- name: allowHTTP
protocol: Tcp
destination_port_range: 80
direction: Inbound
priority: 102
- name: allowHTTPS
protocol: Tcp
destination_port_range: 443
direction: Inbound
priority: 103
internal-sg:
description: Intra-VNET traffic only
rules: []
NIC:
web-NIC:
subnet: public
sg: public-ssh
public: web-public
domain: web-public
images:
ubuntu:
offer: "UbuntuServer"
publisher: "Canonical"
sku: "18.04-LTS"
version: "latest"
vm:
web:
subnet: public
size: Standard_B1s
nic: [ web-NIC ]
db:
subnet: private
password: Db@dm1n