-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure_test_public_ip.html
191 lines (147 loc) · 8.01 KB
/
azure_test_public_ip.html
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
fred@fred-Virtual-Machine:~/task/shenjie/test/azure_rm_virtualmachine/tasks$ ansible-playbook task1.yml
[WARNING]: Skipping plugin (/usr/local/lib/python2.7/dist-
packages/ansible/plugins/connection/accelerate.py) as it seems to be invalid: cannot import
name key_for_hostname
[WARNING]: While constructing a mapping from
/home/fred/task/shenjie/test/azure_rm_virtualmachine/tasks/var.yml, line 1, column 1, found a
duplicate dict key (resource_group_secondary). Using last defined value only.
[DEPRECATION WARNING]: azure_rm_virtualmachine_facts is kept for backwards compatibility but
usage is discouraged. The module documentation details page may explain more about this
rationale.. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: azure_rm_networkinterface_facts is kept for backwards compatibility
but usage is discouraged. The module documentation details page may explain more about this
rationale.. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: azure_rm_publicipaddress_facts is kept for backwards compatibility but
usage is discouraged. The module documentation details page may explain more about this
rationale.. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY [for azure_rm_dnszone playbook test] ****************************************************
TASK [Gathering Facts] ***********************************************************************
ok: [127.0.0.1]
TASK [create resource group] *****************************************************************
ok: [127.0.0.1]
TASK [include_tasks] *************************************************************************
included: /home/fred/task/shenjie/test/azure_rm_virtualmachine/tasks/setup.yml for 127.0.0.1
TASK [debug] *********************************************************************************
ok: [127.0.0.1] => {
"msg": "UID is 7"
}
TASK [SETUP | Create storage account] ********************************************************
ok: [127.0.0.1]
TASK [SETUP | Create availability set] *******************************************************
ok: [127.0.0.1]
TASK [SETUP | Create virtual network] ********************************************************
ok: [127.0.0.1]
TASK [SETUP | Create subnet] *****************************************************************
ok: [127.0.0.1]
TASK [Create public ip] **********************************************************************
ok: [127.0.0.1]
TASK [Create security group] *****************************************************************
changed: [127.0.0.1]
TASK [Create network interface] **************************************************************
[DEPRECATION WARNING]: Setting ip_configuration flatten is deprecated and will be removed.
Using ip_configurations list to define the ip configuration. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
ok: [127.0.0.1]
TASK [Create virtual machine with a single NIC and no boot diagnostics] **********************
ok: [127.0.0.1]
TASK [Ensure VM was created properly] ********************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Get facts for virtual machine without boot diagnostics disabled] ***********************
[DEPRECATION WARNING]: The 'azure_rm_virtualmachine_facts' module has been renamed to
'azure_rm_virtualmachine_info'. This feature will be removed in version 2.13. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [127.0.0.1]
TASK [Ensure VM facts are correct] ***********************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Enable boot diagnostics on an existing VM for the first time without specifying a storage account] ***
changed: [127.0.0.1]
TASK [Ensure VM properties are correct] ******************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Get facts for virtual machine with boot diagnostics enabled] ***************************
ok: [127.0.0.1]
TASK [Ensure VM facts were returned] *********************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Change the boot diagnostics storage account while enabled] *****************************
changed: [127.0.0.1]
TASK [Disable boot diagnostics and change the storage account at the same time] **************
changed: [127.0.0.1]
TASK [Ensure boot diagnostics was disabled] **************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Re-enable boot diagnostics on an existing VM where it was previously configured] *******
changed: [127.0.0.1]
TASK [Ensure boot diagnostics was reenabled] *************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Should be idempotent with a single NIC] ************************************************
ok: [127.0.0.1]
TASK [Ensure nothing changed] ****************************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Resize VM] *****************************************************************************
changed: [127.0.0.1]
TASK [Esure VM was resized] ******************************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Delete VM] *****************************************************************************
changed: [127.0.0.1]
TASK [NIC should be gone] ********************************************************************
[DEPRECATION WARNING]: The 'azure_rm_networkinterface_facts' module has been renamed to
'azure_rm_networkinterface_info'. This feature will be removed in version 2.13. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [127.0.0.1]
TASK [Ensure NIC was removed] ****************************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Public IP should be gone] **************************************************************
[DEPRECATION WARNING]: The 'azure_rm_publicipaddress_facts' module has been renamed to
'azure_rm_publicipaddress_info'. This feature will be removed in version 2.13. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [127.0.0.1]
TASK [Ensure public IP was removed] **********************************************************
ok: [127.0.0.1] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Destroy NIC] ***************************************************************************
ok: [127.0.0.1]
TASK [Destroy security group] ****************************************************************
changed: [127.0.0.1]
TASK [Destroy subnet] ************************************************************************
changed: [127.0.0.1]
TASK [Destroy virtual network] ***************************************************************
changed: [127.0.0.1]
TASK [Destroy public ip] *********************************************************************
ok: [127.0.0.1]
TASK [Destroy availability set] **************************************************************
changed: [127.0.0.1]
TASK [Destroy storage account] ***************************************************************
changed: [127.0.0.1]
PLAY RECAP ***********************************************************************************
127.0.0.1 : ok=40 changed=12 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0