Skip to content

Instantly share code, notes, and snippets.

@jvanderaa
Created December 3, 2020 02:39
Show Gist options
  • Save jvanderaa/e926451a17284bb6c5ec8cd7daa0c73e to your computer and use it in GitHub Desktop.
Save jvanderaa/e926451a17284bb6c5ec8cd7daa0c73e to your computer and use it in GitHub Desktop.
- name: "TASK 10: SETUP SITES"
netbox.netbox.netbox_site:
netbox_url: "{{ lookup('ENV', 'NETBOX_URL') }}"
netbox_token: "{{ lookup('ENV', 'NETBOX_API_KEY') }}"
data: "{{ item }}"
loop: “{{ site_list }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment