Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: "Register hostname in Infoblox (Get next available IP)"
- uri:
- url: "{{infoblox_api_url }}/record:host?_return_fields=ipv4addrs"
- user: "{{ infoblox_username }}"
- password: "{{ infoblox_password }}"
- body: "{{ lookup('template', 'infoblox_next_available.json.j2') }}"
- force_basic_auth: yes
- return_content: yes
- validate_certs: no
- body_format: json
- status_code: 201
- method: POST
- register: infoblox_response
Add Comment
Please, Sign In to add comment