summaryrefslogtreecommitdiffstats
path: root/ansible_collections/infoblox/nios_modules/playbooks/create_dns_view.yml
blob: 834a7c9a2f5f6cd7974ee82c41e342d055f634aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---

- hosts: localhost
  vars:
    nios_provider:
      host: 10.36.118.2
      username: cloudadmin
      password: admin

  connection: local
  tasks:
   - name: create DNS view
     infoblox.nios_modules.nios_dns_view:
       name: ansibleDnsView
       network_view: ansibleCollectionsView
       extattrs:
         Site: Test Site
       comment: Created with Ansible
       state: present
       provider: "{{ nios_provider }}"