-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path39648.yml
41 lines (35 loc) · 1.04 KB
/
39648.yml
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
---
# virtualnetwork has been deploy by subnet and VM
- name: For virtual network test
hosts: localhost
connection: local
vars:
resource_group: myRG
location: westeurope
virtualnetwork: virtualnetwork
virtualnetwork01: virtualnetwork01
tasks:
- name: create virtual network01
azure_rm_virtualnetwork:
resource_group: "{{ resource_group }}"
name: "{{ virtualnetwork01 }}"
api_profile: '2017-03-09-profile'
address_prefixes: "10.0.0.0/16"
dns_servers:
- "127.0.0.1"
- name: create virtual network01
azure_rm_virtualnetwork:
resource_group: "{{ resource_group }}"
name: "{{ virtualnetwork01 }}"
api_profile: '2017-03-09-profile'
address_prefixes: "10.0.0.0/16"
dns_servers:
- "128.0.0.1"
- name: create virtual network
azure_rm_virtualnetwork:
resource_group: "{{ resource_group }}"
name: "{{ virtualnetwork }}"
api_profile: '2017-03-09-profile'
address_prefixes: "10.0.0.0/16"
dns_servers:
- "128.0.0.1"