Class: Ansible::Ruby::Modules::Eos_template
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Eos_template
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb
Overview
Manages network device configurations over SSH or eAPI. This module allows implementors to work with the device running-config. It provides a way to push a set of commands onto a network device by evaluting the current running-config and only pushing configuration commands that are not already configured. The config source can be a set of commands or a template.
Instance Method Summary collapse
-
#backup ⇒ Boolean?
When this argument is configured true, the module will backup the running-config from the node prior to making any changes.
-
#config ⇒ String?
The module, by default, will connect to the remote device and retrieve the current running-config to use as a base for comparing against the contents of source.
-
#force ⇒ Boolean?
The force argument instructs the module to not consider the current devices running-config.
-
#include_defaults ⇒ Boolean?
By default when the M(eos_template) connects to the remote device to retrieve the configuration it will issue the ‘show running-config` command.
-
#replace ⇒ Boolean?
This argument will cause the provided configuration to be replaced on the destination node.
-
#src ⇒ String
The path to the config source.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#backup ⇒ Boolean?
23 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb', line 23 attribute :backup |
#config ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb', line 31 attribute :config |
#force ⇒ Boolean?
15 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb', line 15 attribute :force |
#include_defaults ⇒ Boolean?
19 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb', line 19 attribute :include_defaults |
#replace ⇒ Boolean?
27 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb', line 27 attribute :replace |
#src ⇒ String
11 |
# File 'lib/ansible/ruby/modules/generated/core/network/eos/eos_template.rb', line 11 attribute :src |