Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Get the created Vistual Service
- avi_api_session:
- api_version: 17.2.3
- controller: "{{ avi_controller }}"
- username: "{{ avi_username }}"
- password: "{{ avi_password }}"
- http_method: get
- path: "virtualservice?name=test-vs&cloud_ref.name=openstack"
- register: vs
- - name: VS floating VIP
- debug: msg="{{ vs.obj.results[0].vip[0].floating_ip.addr }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement