Skip to content

get

Collection Note

This module is part of the nokia.srlinux collection. To install the collection, use:

ansible-galaxy collection install nokia.srlinux
Added in version 0.1.0.

Synopsis

  • This module allows to retrieve configuration and state details from the system. The get method can be used with candidate, running, and state datastores, but cannot be used with the tools datastore.

Parameters

Parameter Defaults / Choices Comments
paths
list / elements=dict
List of paths to get data from.
paths.datastore Default: state
Choices: baseline, candidate, running, state, tools
The datastore to query
paths.path the YANG path of a datastore node
paths.yang_models Choices: srl, oc YANG models to use for the get operation.

Examples

- name: Get /system/information container
  nokia.srlinux.get:
    paths:
      - path: /system/information
        datastore: state

Authors

  • Patrick Dumais (@nokia)
  • Roman Dodin (@nokia)
  • Walter De Smedt (@nokia)