Skip to content

Releases: nautobot/nautobot-ansible

v3.0.0

07 Sep 23:33
2ca1eae
Compare
Choose a tag to compare

v3.0.0

This is a breaking change to accommodate the changes made by ansible-core 2.11 / Ansible 4 that changed the behavior of the arg spec verification.

Major Changes

  • (#66) Remove data sub-key from modules

Minor Changes

  • (#75) Device Interface module supports custom_fields

Porting Guide

To move from the 1.x/2.x release to 3.0.0, the following changes are required:

  • Move any data parameter items into the module parameters.

Porting Examples

    - name: "05 - ADD DEVICES"
      networktocode.nautobot.device:
        url: "{{ lookup('env', 'NAUTOBOT_URL') }}"
        token: "{{ lookup('env', 'NAUTOBOT_TOKEN') }}"
        data:
          name: "{{ item['name'] }}"
          site: "{{ item['site'] }}"
          device_role: "{{ item['device_role'] }}"
          device_type: "{{ item['device_type'] }}"
          platform: "IOS"
          status: "Active" # Newly required for Nautobot, a status of some kind
      loop: "{{ devices }}"

Becomes

    - name: "05 - ADD DEVICES"
      networktocode.nautobot.device:
        url: "{{ lookup('env', 'NAUTOBOT_URL') }}"
        token: "{{ lookup('env', 'NAUTOBOT_TOKEN') }}"
        name: "{{ item['name'] }}"
        site: "{{ item['site'] }}"
        device_role: "{{ item['device_role'] }}"
        device_type: "{{ item['device_type'] }}"
        platform: "IOS"
        status: "Active" # Newly required for Nautobot, a status of some kind
      loop: "{{ devices }}"

All the nested items in under data are now at the same level as URL and Token, removing the data parameter.

v2.0.1

14 May 13:43
5557e66
Compare
Choose a tag to compare

v2.0.0

26 Apr 22:15
5c99f32
Compare
Choose a tag to compare

BugFixes

  • (#35) Add Site, Device Tracebacks due to changes in Nautobot (Issue #34)
  • (#26) Add missing description to tenant_group
  • (#29) Add missing field to vlan_group
  • (#32) Fixed query on Virtual Chassis

Additions

  • GraphQL Lookup Plugin (networktocode.nautobot.lookup_graphql)
  • GraphQL Action Module (networktocode.nautobot.query_graphql)

Deprecations / Breaking Changes

  • (#33) Deprecates NAUTOBOT_API and NAUTOBOT_API_TOKEN environment variables. Use:
    • NAUTOBOT_URL for URL based environment variables where applicable
    • NAUTOBOT_TOKEN for Token based environment variables where applicable

v1.0.4

15 Mar 03:06
4bab297
Compare
Choose a tag to compare

v1.0.4

Bugfixes

  • Added check for UUIDs when checking for isinstance(int) #22
  • ip_address - Removed interface option #23

v1.0.3

14 Mar 05:13
1c3b40a
Compare
Choose a tag to compare

v1.0.3

Bugfixes

  • Validate if value is already a UUID, return UUID and do not attempt to resolve #17

v1.0.2

08 Mar 11:36
a07d8e4
Compare
Choose a tag to compare

v1.0.2

Bugfixes

  • Remove code related to fetching secrets due to secrets not existing in Nautobot.

v1.0.1

03 Mar 16:16
b9bb34d
Compare
Choose a tag to compare

v1.0.1

Release Summary

Removes dependency on ansible.netcommon and uses builtin ipaddress module

v1.0.0

26 Feb 02:51
52e7a62
Compare
Choose a tag to compare

v1.0.0

Release Summary

This is the first official release of an Ansible Collection for Nautobot.
This project is forked from the netbox.netbox Ansible Collection.

New Plugins

Lookup


- networktocode.nautobot.lookup - Queries and returns elements from Nautobot

New Modules
-----------

- networktocode.nautobot.aggregate - Creates or removes aggregates from Nautobot
- networktocode.nautobot.cable - Create, update or delete cables within Nautobot
- networktocode.nautobot.circuit - Create, update or delete circuits within Nautobot
- networktocode.nautobot.circuit_termination - Create, update or delete circuit terminations within Nautobot
- networktocode.nautobot.circuit_type - Create, update or delete circuit types within Nautobot
- networktocode.nautobot.cluster - Create, update or delete clusters within Nautobot
- networktocode.nautobot.cluster_group - Create, update or delete cluster groups within Nautobot
- networktocode.nautobot.cluster_type - Create, update or delete cluster types within Nautobot
- networktocode.nautobot.console_port - Create, update or delete console ports within Nautobot
- networktocode.nautobot.console_port_template - Create, update or delete console port templates within Nautobot
- networktocode.nautobot.console_server_port - Create, update or delete console server ports within Nautobot
- networktocode.nautobot.console_server_port_template - Create, update or delete console server port templates within Nautobot
- networktocode.nautobot.device - Create, update or delete devices within Nautobot
- networktocode.nautobot.device_bay - Create, update or delete device bays within Nautobot
- networktocode.nautobot.device_bay_template - Create, update or delete device bay templates within Nautobot
- networktocode.nautobot.device_interface - Creates or removes interfaces on devices from Nautobot
- networktocode.nautobot.device_interface_template - Creates or removes interfaces on devices from Nautobot
- networktocode.nautobot.device_role - Create, update or delete devices roles within Nautobot
- networktocode.nautobot.device_type - Create, update or delete device types within Nautobot
- networktocode.nautobot.front_port - Create, update or delete front ports within Nautobot
- networktocode.nautobot.front_port_template - Create, update or delete front port templates within Nautobot
- networktocode.nautobot.inventory_item - Creates or removes inventory items from Nautobot
- networktocode.nautobot.ip_address - Creates or removes IP addresses from Nautobot
- networktocode.nautobot.ipam_role - Creates or removes ipam roles from Nautobot
- networktocode.nautobot.manufacturer - Create or delete manufacturers within Nautobot
- networktocode.nautobot.platform - Create or delete platforms within Nautobot
- networktocode.nautobot.power_feed - Create, update or delete power feeds within Nautobot
- networktocode.nautobot.power_outlet - Create, update or delete power outlets within Nautobot
- networktocode.nautobot.power_outlet_template - Create, update or delete power outlet templates within Nautobot
- networktocode.nautobot.power_panel - Create, update or delete power panels within Nautobot
- networktocode.nautobot.power_port - Create, update or delete power ports within Nautobot
- networktocode.nautobot.power_port_template - Create, update or delete power port templates within Nautobot
- networktocode.nautobot.prefix - Creates or removes prefixes from Nautobot
- networktocode.nautobot.provider - Create, update or delete providers within Nautobot
- networktocode.nautobot.rack - Create, update or delete racks within Nautobot
- networktocode.nautobot.rack_group - Create, update or delete racks groups within Nautobot
- networktocode.nautobot.rack_role - Create, update or delete racks roles within Nautobot
- networktocode.nautobot.rear_port - Create, update or delete rear ports within Nautobot
- networktocode.nautobot.rear_port_template - Create, update or delete rear port templates within Nautobot
- networktocode.nautobot.region - Creates or removes regions from Nautobot
- networktocode.nautobot.rir - Create, update or delete RIRs within Nautobot
- networktocode.nautobot.route_target - Creates or removes route targets from Nautobot
- networktocode.nautobot.service - Creates or removes service from Nautobot
- networktocode.nautobot.site - Creates or removes sites from Nautobot
- networktocode.nautobot.status - Creates or removes status from Nautobot
- networktocode.nautobot.tag - Creates or removes tags from Nautobot
- networktocode.nautobot.tenant - Creates or removes tenants from Nautobot
- networktocode.nautobot.tenant_group - Creates or removes tenant groups from Nautobot
- networktocode.nautobot.virtual_chassis - Create, update or delete virtual chassis within Nautobot
- networktocode.nautobot.virtual_machine - Create, update or delete virtual_machines within Nautobot
- networktocode.nautobot.vlan - Create, update or delete vlans within Nautobot
- networktocode.nautobot.vlan_group - Create, update or delete vlans groups within Nautobot
- networktocode.nautobot.vm_interface - Creates or removes interfaces from virtual machines in Nautobot
- networktocode.nautobot.vrf - Create, update or delete vrfs within Nautobot