community.network.avi_dnspolicy – Module for setup of DnsPolicy Avi RESTful Object
This plugin is part of the community.network collection (version 3.0.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
This module is used to configure DnsPolicy object
more examples at https://github.com/avinetworks/devops
For more information on using Ansible to manage Avi Network devices see https://www.ansible.com/ansible-avi-networks.
- name: Example to create DnsPolicy object community.network.avi_dnspolicy: controller: 10.10.25.42 username: admin password: something state: present name: sample_dnspolicy