Skip to content

Instantly share code, notes, and snippets.

View akira6592's full-sized avatar

Akira Yokochi akira6592

View GitHub Profile
@sky-joker
sky-joker / sample.yml
Created July 10, 2020 16:05
Netboxのprefixesから利用可能なIP一覧を取得するサンプルPlaybook
---
- name: "example playbook"
hosts: localhost
gather_facts: no
vars:
netbox_url: http:/netbox ip or fqdn/api/ipam/prefixes/
netbox_token: change me
target_prefix: "100.64.0.0/24"
module_defaults:
uri: