Skip to content

Instantly share code, notes, and snippets.

@bcoca
Created April 16, 2020 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcoca/e855a81f649ae8b9aafab6012ecf5751 to your computer and use it in GitHub Desktop.
Save bcoca/e855a81f649ae8b9aafab6012ecf5751 to your computer and use it in GitHub Desktop.
{
"ansible.netcommon.cli_config": {
"doc": {
"author": "Trishna Guha (@trishnaguha)",
"description": [
"This module provides platform agnostic way of pushing text based configuration to network devices over network_cli connection plugin."
],
"filename": "/home/bcoca/tmp/collections/ansible_collections/ansible/netcommon/plugins/modules/cli_config.py",
"module": "cli_config",
"notes": [
"The commands will be returned only for platforms that do not support onbox diff. The C(--diff) option with the playbook will return the difference in configuration for devices that has support for onbox diff",
"This module is supported on C(ansible_network_os) network platforms. See the :ref:`Network Platform Options <platform_options>` for details."
],
"options": {
"backup": {
"default": "no",
"description": [
"This argument will cause the module to create a full backup of the current running config from the remote device before any changes are made. If the C(backup_options) value is not given, the backup file is written to the C(backup) folder in the playbook root directory or role root directory, if playbook is part of an ansible role. If the directory does not exist, it is created."
],
"type": "bool"
},
"backup_options": {
"description": [
"This is a dict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment