junipernetworks.junos.junos – Use junos cliconf to run command on Juniper Junos OS platform

Note

This plugin is part of the junipernetworks.junos collection (version 2.8.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install junipernetworks.junos.

To use it in a playbook, specify: junipernetworks.junos.junos.

New in version 1.0.0: of junipernetworks.junos

Synopsis

  • This junos plugin provides low level abstraction apis for sending and receiving CLI commands from Juniper Junos OS network devices.

Parameters

Parameter

Comments

config_commands

list / elements=string

added in 2.0.0 of junipernetworks.junos

Specifies a list of commands that can make configuration changes to the target device.

When ansible_network_single_user_mode is enabled, if a command sent to the device is present in this list, the existing cache is invalidated.

Default: []

Configuration:

  • Variable: ansible_junos_config_commands

Authors

  • Ansible Networking Team