...
|
...
|
@@ -39,6 +39,7 @@ |
|
|
url: "http://{{item}}/switchCloud?netType={{ netType }}&cloudType={{ cloudType }}"
|
|
|
return_content: yes
|
|
|
status_code: 200
|
|
|
body_format: json
|
|
|
headers:
|
|
|
Host: 'dnsresolver.yohoops.org'
|
|
|
register: switch_result
|
...
|
...
|
@@ -46,7 +47,7 @@ |
|
|
|
|
|
- name: print swith netType results
|
|
|
debug:
|
|
|
msg: "{{ item }}"
|
|
|
msg: "{{ item.json }}"
|
|
|
with_items: "{{ switch_result.results }}"
|
|
|
|
|
|
# make sure switch is enabled
|
...
|
...
|
|