ansible-collections / netapp.ontap

Ansible collection to support NetApp ONTAP configuration.
https://galaxy.ansible.com/netapp/ontap
GNU General Public License v3.0
51 stars 34 forks source link
ansible ansible-collection netapp ontap

Documentation example workflow codecov Discord

=============================================================

netapp.ontap

NetApp ONTAP Collection

Copyright (c) 2022 NetApp, Inc. All rights reserved. Specifications subject to change without notice.

=============================================================

Installation

ansible-galaxy collection install netapp.ontap

To use this collection, add the following to the top of your playbook, without this you will be using Ansible 2.9 version of the module

collections:
  - netapp.ontap

Requirements

Module documentation

https://docs.ansible.com/ansible/devel/collections/netapp/ontap/

Need help

Join our Discord and look for our #ansible channel.

Deprecation warning

The ONTAP 9.12.1 release will be the last ONTAP version to support ONTAPI (ZAPI). Future versions of ONTAP will only support REST. This change will effect the modules listed below.

Replaced Modules

These are modules user will need to migrate from their playbook to use the REST version of the module. Do note because REST return values differently than ZAPI you will need to update your playbooks to work with the new module.

Deprecated Modules

The following modules do not have REST equivalent APIs. They will stop working on any ONTAP release after CY22-Q4 release.

Release Notes

22.12.0

Minor Changes

Bug Fixes

22.11.0

Minor Changes

Bug Fixes

22.10.0

Minor Changes

Bug Fixes

22.9.0

New Options

Minor Changes

Bug Fixes

New Modules

22.8.3

Bug Fixes

22.8.1

Bug Fixes

22.8.0

New Options

Minor Changes

Bug Fixes

New Modules

22.7.0

New Options

Minor Changes

Bug Fixes

New Modules

22.6.0

New Options

Minor Changes

Bug Fixes

New Modules

22.5.0

New Options

Minor Changes

Bug Fixes

22.4.1

Bug Fixes

22.4.0

New Options

Minor Changes

Bug Fixes

New Modules

22.3.0

New Options

Minor Changes

Bug Fixes

New Modules

22.2.0

New Options

Minor Changes

Bug Fixes

Added REST support to existing modules

New Modules

22.1.0

New Options

Minor Changes

Bug Fixes

New Modules

22.0.1

Bug Fixes

Minor Changes

22.0.0

Major Changes

New Rest Info

Minor Changes

New Options

Bug Fixes

New Modules

21.24.1

Bug Fixes

21.24.0

New Options

Minor Changes

New Rest Info

Bug Fixes

Added REST support to existing modules

New Module

New Filters

21.23.0

New Options

New Rest Info

Bug Fixes

Minor Changes

Added REST support to existing modules

New Module

21.22.0

New Options

Bug Fixes

Minor Changes

Added REST support to existing modules

21.21.0

New Options

Bug Fixes

New Module

Minor Changes

Known Issues:

Added REST support to existing modules

21.20.0

Bug Fixes

New Options

New Modules

Minor Changes

Added REST support to existing modules

21.19.1

Bug Fixes

21.19.0

Minor Changes

New Options

New Module

Bug Fixes

New Rest Info

Added REST support to existing modules

21.18.1

Bug Fixes

21.18.0

New Options

Minor Changes

Bug Fixes

Added REST support to existing modules

21.17.3

Bug Fixes

21.17.2

Bug Fixes

21.17.1

Bug Fixes

21.17.0

New Options

Minor changes

Bug Fixes

Added REST support to existing modules

21.16.0

New Options

Bug Fixes

Added REST support to existing modules

21.15.1

Bug Fixes

21.15.0

New Options

Bug Fixes

Minor Changes

Added REST support to existing modules

21.14.1

Bug Fixes

21.14.0

New Options

Bug Fixes

Minor Changes

Added REST support to existing modules

21.13.1

Bug Fixes

21.13.0

Minor Changes

New Options

Bug Fixes

Added REST support to existing modules

21.12.0

Minor Changes

New Options

Bug Fixes

Added REST support to existing modules

21.11.0

New Options

Minor Changes

Bug Fixes

Added REST support to existing modules

21.10.0

Minor Changes

Bug Fixes

21.9.0

Minor Changes

New Options

Added REST support to existing modules

Bug Fixes

21.8.1

Bug Fixes

21.8.0

New Modules

New role

New Options

Added REST support to existing modules

Bug Fixes

Minor Changes

21.7.0

New Modules

New Options

Minor Changes

Bug Fixes

21.6.1

Bug Fixes

21.6.0

New Options

Minor changes

Bug Fixes

21.5.0

New Options

Added REST support to existing modules

Bug Fixes

Minor changes

21.4.0

New Modules

New Options

Minor changes

Bug fixes

21.3.1

Bug fixes

21.3.0

New Modules

New Options

Minor changes

Added REST support to existing modules

Bug fixes

21.2.0

New Modules

New Options

Minor changes

Bug fixes

Added REST support to existing modules

21.1.1

Bug fixes

21.1.0

New Modules

New Options

Minor changes

Bug fixes

20.12.0

New Options

Bug fixes

20.11.0

New Modules

Minor changes

Bug fixes

20.10.0

New Options

Bug fixes

20.9.0

New Modules

New Options

Bug fixes

20.8.0

New Modules

New Options

Bug fixes

Module documentation changes

20.7.0

New Modules

New Options:

Bug fixes:

Example playbook

20.6.1

New Options:

Bug Fixes

20.6.0

Support for SSL certificate authentication in addition to password

The ONTAP Ansible modules currently require a username/password combination to authenticate with ONTAPI or REST APIs. It is now possible to use SSL certificate authentication with ONTAPI or REST. You will first need to install a SSL certificate in ONTAP, see for instance the first part of: https://netapp.io/2016/11/08/certificate-based-authentication-netapp-manageability-sdk-ontap/ The applications that need to be authorized for cert are ontapi and http.

The new cert_filepath, key_filepath options enable SSL certificate authentication. This is mutually exclusive with using username and password.

ONTAP does not support cert authentication for console, so this is not supported for na_ontap_command.

SSL certificate authentication requires python2.7 or 3.x.

New Options

Bug Fixes

Example playbook

Added REST support to existing modules

20.5.0

New Options:

Bug Fixes

New Modules

Role Change

20.4.1

New Options

Added REST support to existing modules

Bug Fixes

Role Changes

20.4.0

New Options

Bug Fixes

New Modules

20.3.0

New Options

Bug Fixes

New Modules

20.2.0

New Modules

New Options

Bug Fixes

Role Changes

20.1.0

New Modules

New Options

Bug Fixes

Added REST support to existing modules

Role Changes

19.11.0

New Modules

New Options

Bug Fixes

Added REST support to existing modules

Role Changes

19.10.0

Changes in 19.10.0 and September collection releases compared to Ansible 2.9

New Modules

New Options

Bug Fixes

Added REST support to existing modules

By default, the module will use REST if the target system supports it, and the options are supported. Otherwise, it will switch back to ZAPI. This behavior can be controlled with the use_rest option:

  1. Always: to force REST. The module fails and reports an error if REST cannot be used.
  2. Never: to force ZAPI. This could be useful if you find some incompatibility with REST, or want to confirm the behavior is identical between REST and ZAPI.
  3. Auto: the default, as described above.

Role Changes