Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: localhost
- connection: local
- vars:
- controller: 10.10.27.90
- username: admin
- password: AviNetworks123!
- tasks:
- - avi_virtualservice:
- controller: "{{ controller }}"
- username: "{{ username }}"
- password: "{{ password }}"
- name: newtestvs
- state: absent
- performance_limits:
- max_concurrent_connections: 1000
- services:
- - port: 443
- enable_ssl: true
- - port: 80
- ssl_profile_ref: '/api/sslprofile?name=System-Standard'
- application_profile_ref: '/api/applicationprofile?name=System-Secure-HTTP'
- ssl_key_and_certificate_refs:
- - '/api/sslkeyandcertificate?name=System-Default-Cert'
- ip_address:
- addr: 10.90.131.103
- type: V4
- pool_ref: '/api/pool?name=testpool2'
- - avi_pool:
- controller: "{{ controller }}"
- username: "{{ username }}"
- password: "{{ password }}"
- name: testpool2
- state: absent
- health_monitor_refs:
- - '/api/healthmonitor?name=System-HTTP'
- servers:
- - ip:
- addr: 10.90.130.8
- type: V4
- enabled: false
- - ip:
- addr: 10.90.130.7
- type: V4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement