Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: infoblox
- connection: local
- tasks:
- - include_csv: src=infblox.csv
- - name: configure an ipv4 host record
- nios_host_record:
- name: "{{ item.name }}.puretec.purestorage.com"
- ipv4:
- - address: "{{ item.address }}"
- state: present
- provider:
- host: 10.21.93.16
- username: "{{ your username here }}"
- password: "{{ your password here }}"
- wapi_version: 2.5
- view: INTERNAL
- connection: local
- with_items: "{{ infblox }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement