Created
          January 18, 2018 15:27 
        
      - 
      
 - 
        
Save privateip/bb6677036adbde1ca7eaccd9fe0c0986 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
privateip created this gist
Jan 18, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,69 @@ - hosts: an-nios-01 gather_facts: no connection: local vars: provider: host: an-nios-01.ansible.eng.rdu2.redhat.com username: admin password: admin tasks: - name: test nios_network_view module nios_network_view: name: ansible comment: "{{ comment | default(omit) }}" provider: "{{ provider }}" state: "{{ state | default(omit) }}" tags: network_view - name: test nios_zone module nios_zone: name: ansible.com view: "{{ view | default(omit) }}" grid_primary: "{{ grid_primary | default(omit) }}" grid_secondaries: "{{ grid_secondaries | default(omit) }}" extattrs: "{{ extattrs | default(omit) }}" comment: "{{ comment | default(omit) }}" provider: "{{ provider }}" state: "{{ state | default(omit) }}" tags: zone - name: test nios_dns_view module nios_dns_view: view: ansible-test network_view: ansible extattrs: Site: east "IB Discovery Owned": '15' comment: "{{ comment | default(omit) }}" provider: "{{ provider }}" state: "{{ state | default(omit) }}" tags: dns - name: test nios_network module nios_network: network: 192.168.11.0/24 network_view: default options: - name: domain-name value: ansible.com comment: "{{ comment | default(omit) }}" provider: "{{ provider }}" state: "{{ state | default(omit) }}" tags: network - name: test nios_host_record module nios_host_record: name: test1.ansible.com ipv4: - address: 192.168.10.2 ipv6: - address: 2001::1 - address: 2002::1 comment: test host record provider: "{{ provider }}" state: "{{ state | default(omit) }}" tags: host_record